Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Add worksheet in excel
Message
 
 
To
02/10/2008 12:12:32
James Blackburn
Qualty Design Systems, Inc.
Kuna, Idaho, United States
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Environment versions
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
MS SQL Server
Miscellaneous
Thread ID:
01352300
Message ID:
01352309
Views:
32
You're welcome.

>Works great. Thanks again Sergey.
>
>>Maybe it's not a shortest way but it works
>>
>>oWorkbook.Sheets.Add(,oWorkbook.Sheets(oWorkbook.Sheets.Count))
>>
>>>
>>>It has been a long time since I have tried to automate excel. I need to add a new worksheet to the end of the list. I can't seem to make the parameters work with the add() method.
>>>
>>>o.ActiveWorkbook.Sheets.Add()
>>>
>>>I seem to remember that you can't pass named parameters with vfp so how do I make this work?
--sb--
Previous
Reply
Map
View

Click here to load this message in the networking platform