Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How do I set the starting
Message
De
01/02/2006 13:10:21
 
 
À
01/02/2006 11:00:50
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 9
OS:
Windows XP SP1
Divers
Thread ID:
01092121
Message ID:
01092441
Vues:
26
>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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform