Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Start Excel & open a spreadsheet?
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 8 SP1
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01110438
Message ID:
01110473
Views:
16
>>>I have a file "C:\temp\mysheet.xls" and I want to open excel, make it visible, and open this spreadsheet via VFP. This is what I got so far, but I dont see how to open the file. Anyone know how to do it?
>>>Thanks!
>>>
>>>oExcel = CREATEOBJECT("excel.application")
>>>oExcel.Visible = .T.
>>
>>
oWorkbook = oExcel.Workbooks.Open(lcXlsFile)
>
>Yeah that's it, but I'm disapponted Sergey - it took you almost a FULL 2 MINUTES to answer my question this time! You must be getting slower in your old age...hahahaha.
>
>Thanks!

You're welcome. :)
--sb--
Previous
Reply
Map
View

Click here to load this message in the networking platform