Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Finding out programmatically how many rows in excel.
Message
 
To
27/01/2003 13:56:19
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Miscellaneous
Thread ID:
00745897
Message ID:
00745915
Views:
21
I don't quite get it...

Here is my code which works fine except I only get the structure. Where would I put the code you stated. I tried it and got member worksheet does not evaluate to an object....


oleapp=CREATEOBJECT("Excel.Application")
OleApp.DisplayAlerts=.f.
filename1="environmentalsummary.xls"
oWorkBook=oleapp.workbooks.Open(filename1)
*oWorkBook.application.visible = .T.
***Manually Save ***
curdir='\dddata\tables\'

oWorkBook.Worksheets(1).Range("A1:T1").Select

oWorkBook.SaveAs(sys(5)+curdir+'upenviro3.dbf', 8)

Thanks again.
Jules
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform