Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How do I set the starting
Message
De
31/01/2006 18:46:58
 
 
À
31/01/2006 18:44:15
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:
01092129
Vues:
23
>Huh? How do I do that?
>
>>>How do I change the starting "Save As" folder for an Excel spreadsheet created using Automation? (I want to do so temporarily, not permanently). I do the following to get started:
>>>
loExcel = Createobject("Excel.Application")
>>>... but don't understand how I do "ChDir".
>>>
>>>Thanks in advance,
>>
>>Why not just specify the full path?

Specify the fullpath name in the SaveAs:
oX.ActiveWorkbook.SaveAs(cFolder+cExcelFileName)
Fred
Microsoft Visual FoxPro MVP

foxcentral.net
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform