Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Copy to filename
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01136704
Message ID:
01136705
Views:
9
This message has been marked as the solution to the initial question of the thread.
>I am using the following code to export data to an excel spreadsheet:
>
>* Export to Excel
>cOutFile = PUTFILE("Create File","equipment.xls","XLS")
>COPY TO cOutFile TYPE XLS
>
>However, it is saving the file as cOutFile.xls and not the name as specified in the Save As dialog box. Any ideas?
>
>Thanks,
>Doug

Change this to
copy to (cOutFile) type xls &&& bettter yet use type XL5
Jaime
Why do programs stop working correctly as soon as you leave the Fox?
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform