Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Excel constants
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
COM/DCOM et OLE Automation
Titre:
Divers
Thread ID:
00899548
Message ID:
00899596
Vues:
17
>Hi, for the sample code below:
>
>oApp = GETOBJECT('', "Excel.Application")
>oApp.Workbooks.Open('somefile.xls')
>
> oApp.Rows("1:1").Delete(xlShiftUp) && delete fieldnames

If you need Excel constants in VFP, you might try file#9498 in Downloads section.

Or, you can open Excel object in Object Browser in VFP, look up the constants values there, and use their values directly or declare constants in VFP yourself.
Nick Neklioudov
Universal Thread Consultant
3 times Microsoft MVP - Visual FoxPro

"I have not failed. I've just found 10,000 ways that don't work." - Thomas Edison
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform