Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Port OLE object to Excel
Message
De
11/05/2000 14:28:11
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
COM/DCOM et OLE Automation
Titre:
Port OLE object to Excel
Divers
Thread ID:
00368702
Message ID:
00368702
Vues:
54
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
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform