Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to load a specific Excel file
Message
From
10/05/2005 18:19:22
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Title:
How to load a specific Excel file
Environment versions
Visual FoxPro:
VFP 7
OS:
Windows XP
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01012644
Message ID:
01012644
Views:
64
Hello,

I'm trying to open a specific Excel file once I have started Excel (oleApp=Createobject("Excel.Application")).

I attempted to record the macro in Excel which gave me...
Workbooks.Open FileName:= _
"C:\foldername\filename.xls"

As I've found working with Excel, it's probably some little part of the macro that isn't correct if copied into FoxPro code. I just haven't hit on what that is on my own.

Any help is greatly appreciated.

Martha
Next
Reply
Map
View

Click here to load this message in the networking platform