Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Counting rows of an Excel 97 worksheet
Message
 
À
23/12/2000 09:30:04
Charles Richard
Nvo Management Systems
Boisbriand, Québec, Canada
Information générale
Forum:
Visual FoxPro
Catégorie:
COM/DCOM et OLE Automation
Divers
Thread ID:
00456575
Message ID:
00456583
Vues:
35
In some cases the actual number of rows containing data may be less then the number of rows in the document.
In Excel you can use CTRL+END to go to the document bottom.
So, while automation to go to the document bottom you can use:
ObjExcel.SendKeys ("^+{END}",-1)
Then you can use ObjExcel.ActiveWindow.RangeSelection.Address to see where you are.

Best Wishes

>>>>>>>>>>>>>>You message below
Can someone tell me if an Excel 97 object (CreateObject('Excel.Application')...) has a property to indicate the actual number of rows and columns containing data?

Thanks
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform