Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Port OLE object to Excel
Message
From
11/05/2000 14:28:11
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Title:
Port OLE object to Excel
Miscellaneous
Thread ID:
00368702
Message ID:
00368702
Views:
55
Dear all,

I create a general field to store a ole object (such as a Visio Drawing). I would like to port this object and other data to the excel for printing the report. I try to record a marco on excel (create a ole object on worksheet) and port the code on VFP. But it doesn't work and prompt the error message "Object cannot add", command is work to run on excel. Comamnd as "activesheet.oleobjects.add(FileName:='c:\temp\test.vsd', Link:=False, DisplayAsIcon:=False).select".

What problem on it and how can I print the object? Thank you very mcuh ...

Best Regards,

Justy Chow
justychow@sinaman.com
Next
Reply
Map
View

Click here to load this message in the networking platform