All,
I am puzzeled on how to use some of the methods in Excel, because the parameter passing is unusual.
Dim sheet As Worksheet
Set sheet = ActiveWorkbook.Sheets.Add(After:=ActiveWorkbook.Worksheets(ActiveWorkbook.Worksheets.Count))
Is there a way to make this work in Harbour / Fivewin?
Thanks,
Byron ...
Passing Parameters to Excel.
-
- Posts: 254
- Joined: Sun Nov 06, 2005 3:55 pm
- Location: Southern California, USA
- Contact:
Passing Parameters to Excel.
Thanks,
Byron Hopp
Matrix Computer Services
Byron Hopp
Matrix Computer Services
Re: Passing Parameters to Excel.
Trybyron.hopp wrote:Dim sheet As Worksheet
Set sheet = ActiveWorkbook.Sheets.Add(After:=ActiveWorkbook.Worksheets(ActiveWorkbook.Worksheets.Count))
Code: Select all
oSheet := oExcel:ActiveWorkbook:Sheets:Add( oExcel:ActiveWorkbook:Worksheets( oExcel:ActiveWorkbook:Worksheets:Count() ) )
-
- Posts: 254
- Joined: Sun Nov 06, 2005 3:55 pm
- Location: Southern California, USA
- Contact:
Re: Passing Parameters to Excel.
Thank you, if that is "After" then how would you do before?
Thanks,
Byron Hopp
Matrix Computer Services
Byron Hopp
Matrix Computer Services