Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Controlling the version of Excel
Message
From
02/05/2013 21:48:01
 
 
To
02/05/2013 20:45:29
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Environment versions
Visual FoxPro:
VFP 9 SP2
Miscellaneous
Thread ID:
01572404
Message ID:
01572588
Views:
41
This message has been marked as a message which has helped to the initial question of the thread.
Likes (1)
I think the second parameter is incorrect. It should probably be a numeric value, but I'm not sure what that is.


>It looks as if SaveAs is the answer, but I can't get it to work.
>It should accept another parameter for file format.
>I found a list, but no matter how I try to pass it, I crash
>
>This is the latest try, and it crashed
>
> ole_xls.ActiveWorkbook.SaveAs(lc_location + pc_detail + ".xls","xlExcel5" )
Craig Berntson
MCSD, Microsoft .Net MVP, Grape City Community Influencer
Previous
Reply
Map
View

Click here to load this message in the networking platform