Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to start Excel with a speific file in VFP?
Message
 
À
31/03/2000 12:25:25
Information générale
Forum:
Visual FoxPro
Catégorie:
COM/DCOM et OLE Automation
Divers
Thread ID:
00353059
Message ID:
00353449
Vues:
16
John..

You are a bud.... BUT....

It is clear that you did not test the code I posted. Rather, you relied on the help docs. And, while the help docs were not incorrect, they were not complete either.. You got bit in the butt on this..

Unfortuantely, many people rely on the help files...including some noteable book authors that have frequented the UT lately..< bg >.. The point is simple, you need to actually test and run the code. Many folks don't do this.. And, I know this is not representitive of your posts...

You can make the check out to Main Line Software, Inc....< bg >


>I tried the code that you posted and, you know what?, it worked!!!
>
>So I retract what I said before about your code not working. It does! Sorry!
>
>
>oExcel = Createobject("excel.application")
>oworkbook = oExcel.workbooks.add(Getfile()) && point to an xls file....
>oExcel.visible = .t.
>
>
>
>
>
>>How much money are you willing to bet.........and lose.... The fact is, if you specify and XLS file, it works just file......as well as an XLT...
>>
>>And obviously, there are some error trapping issues the user will need to deal with...
>>
>>Sorry...
>>
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform