Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How do I set the starting
Message
From
01/02/2006 13:10:21
 
 
To
01/02/2006 11:00:50
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 9
OS:
Windows XP SP1
Miscellaneous
Thread ID:
01092121
Message ID:
01092441
Views:
27
>Charles --
>
>I understand how that would work. However, I don't want to save the file ... all I want to do is to change the directory that the file would be saved in if the user decided to save it. (I make the Excel file visible so that the user can modify and/or save as needed)
>
>>I simply provide the user a dialog for them to specify a path or file name and store that to a variable and use it as apporpriate in the saveas command.

James,
I just tried this...
oe=CREATEOBJECT("Excel.application")
?oe.DefaultFilePath
* shows c:\excel\files
oe.DefaultFilePath="c:\excel"
?oe.DefaultFilePath
* shows c:\excel\
It seems to change the Excel default file location for Excel 2000.

Ed
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform