Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How many sheets in an Excel Workbook
Message
 
To
All
General information
Forum:
Visual FoxPro
Category:
Other
Title:
How many sheets in an Excel Workbook
Miscellaneous
Thread ID:
00236598
Message ID:
00236598
Views:
49
I use the following code to open an Excel Workbook from VFP:

ExcelObj = CreateObject('Excel.Application')
ExcelObj.Visible = .T.
ExcelObj.Workbooks.Open("D:\TEST.XLS")

Does anyone know of a way to return the number of WORKSHEETS in the open workbook? I can't seem to find an object property that tells me this.

Thanks
Next
Reply
Map
View

Click here to load this message in the networking platform