Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Copy TO XLS
Message
From
09/01/2006 18:05:21
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
 
 
To
09/01/2006 16:30:08
Fred Wood
Madera Systems Consulting
Mill Valley, California, United States
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Title:
Environment versions
Visual FoxPro:
VFP 6
OS:
Windows 2000
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01084953
Message ID:
01084997
Views:
6
>I am trying to use code created by Daniel Gramunt I found here on the Unvervsal Thread to compensate for the VFP limitation of max. 16383 records in COPY TO TYPE XL5 and although it has worked for me before in other situations, I am now getting an OLE error - Unknown COM status code when Excell is instructed to save the new worksheet.
>
> loXLS.ActiveSheet.saveAs(tcExcelFile, xlWorkbookNormal)
>
>Could anyone give me a hint as to how tom begin to debug this?
>
>
>Thanks

I'd instead saveas the ActiveWorkbook.
Easier solution is to "copy to ... type csv" or via ADO.
Cetin
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Previous
Reply
Map
View

Click here to load this message in the networking platform