Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to change Excel default directory
Message
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Miscellaneous
Thread ID:
00414176
Message ID:
00414217
Views:
23
>I have the following code in my VFP 6.0 app. Can not figure out how to change the default directory.
>
>oExcel = CREATEOBJECT('Excel.Application')
>oExcel.Workbooks.Add
>
>thanks
>
>brenda

oExcel.application.DefaultFilePath = "C:\myDir"
Nick Neklioudov
Universal Thread Consultant
3 times Microsoft MVP - Visual FoxPro

"I have not failed. I've just found 10,000 ways that don't work." - Thomas Edison
Previous
Reply
Map
View

Click here to load this message in the networking platform