Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Excel Tab Surfing
Message
General information
Forum:
Visual FoxPro
Category:
Other
Environment versions
Visual FoxPro:
VFP 9
OS:
Windows XP
Network:
Windows 2003 Server
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01051478
Message ID:
01051482
Views:
11
This message has been marked as a message which has helped to the initial question of the thread.
Edgar,

I am not sure what are you trying to do, but see if this changes to your code help you:
 oExcel=CREATEOBJECT("Excel.Application")
 
 With oExcel
         .DisplayAlerts= .F.
         .WorkBooks.Open(XLSFile,0) && this is a variable, right? somthing like c:\myFile.XLS
         for each loSheet in .WorkSheets
			loSheet.Select()
         endfor
endwith
"The five senses obstruct or deform the apprehension of reality."
Jorge L. Borges?

"Premature optimization is the root of all evil in programming."
Donald Knuth, repeating C. A. R. Hoare

"To die for a religion is easier than to live it absolutely"
Jorge L. Borges
Previous
Reply
Map
View

Click here to load this message in the networking platform