Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Excel Automation problem
Message
De
12/04/2002 10:12:47
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
COM/DCOM et OLE Automation
Titre:
Excel Automation problem
Divers
Thread ID:
00644258
Message ID:
00644258
Vues:
45
Hi,
I am developing export module. My export module will COPY TO the result of my query the EXCEL (XL5) format. Then, It will automate Excel.application to format the column that is date/datetime data type.
I face an problem that, my exported excel file is not viewable if I automate excel using GETOBJECT. The file can be printed but not view as normal worksheet. It works fine if using CREATEOBJECT(). Why?
Also, after formatting, my prgram will display the excel file using EXCEL using ShellExecute() API if user thick the relavant checkbox as True. It causes Illegal Operation when I close the excel manually. Why?

Pls advise. Thank you
I am not the most powerful man in this world.
I am not the worst man in this world either.
I just as same as all of you.
I still need to learn from my mistakes...
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform