Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How many sheets in an Excel Workbook
Message
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Titre:
How many sheets in an Excel Workbook
Divers
Thread ID:
00236598
Message ID:
00236598
Vues:
50
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
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform