Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Excel Workbook Copying
Message
From
03/10/2001 16:54:25
 
 
To
03/10/2001 16:34:23
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Miscellaneous
Thread ID:
00563845
Message ID:
00563900
Views:
22
>that is exactly what I am trying to do, and I am succeeding in that...buy when I try to active the new file I get an error and then Excel locks up.


OK, assuming that you have created an XLT file from your original, blank XLS file you can create a new spreadsheet with it like so:
oExcel.Workbooks.Add("c:\myPath\myTemplate.xlt")
HTH
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform