Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Problem Creating an Instance of Excel
Message
 
À
19/12/1998 10:55:27
Steve Camsell
Windmill Associates
Bath, Royaume Uni
Information générale
Forum:
Visual FoxPro
Catégorie:
Programmation Orientée Object
Divers
Thread ID:
00169119
Message ID:
00169125
Vues:
24
>I am trying to create an instance of Excel and use to it allow a user to edit a previously saved worksheet. The syntax that I have used is as follows:
>
>oExcel = CREATEOBJECT("Excel.Sheet")
>oExcel.Visible = .T.
>
>Excel is started becuase I can see it under task manager, but it is not visible. I have tried things like:
>
>oExcel.Draw() and..
>oExcel.Paint and..
>oExcel.Show()
>
>No matter what I do, Excel remains invisible. Can anyone offer any help/advice?

Check out the sample code from MS on my web site. It opens Excel, populates a spreadsheet, graphs some data and then moves it into Powerpoint.
John Harvey
Shelbynet.com

"I'm addicted to placebos. I could quit, but it wouldn't matter." Stephen Wright
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform