Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How do I set the starting
Message
From
01/02/2006 12:22:28
 
 
To
31/01/2006 19:18:43
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:
01092413
Views:
16
It actually saves the spreadsheet. I've never looked at a running instance of Excel to see if it leaves that as the default for the next save, I don't have any user interaction with the spreadsheets, it's 100% automated, Excel isn't visible.


>Fred --
>
>One last question. Does that actually save the spreadsheet? Or does it just set the full path for the name that it will be saved as if the user later decides to save it? (OK, that was really two questions, wan't it?)
>
>
>>>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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform