Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
ClassName for Excel
Message
De
24/08/1998 14:08:34
 
 
À
24/08/1998 07:28:59
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00129216
Message ID:
00129410
Vues:
20
>Thanks for the replay but...
>That did not work...
>I tried ooObject=CREATEOBJECT("Excel.Application")
>But I get:
>
>OLE Error code 0x800020006: Unknown Name.
>
>Anymore suggestions...Here is the code:
>ctext=getfile('XLS',cdisplay,'OK',1)
>oObject=createobject("Excel.Application")
>oObject.AppMinimize
>oObject.FileNew
>oObject.FileSaveAs(ctext)
>
>thanks

Excel application works with Excel 97. Earlier version don't have an application object, if you want to use earlier version syntax, you can

oxl = CREATE('Excel.Sheet')

or

oxl = CREATE('Excel.Chart')
Erik Moore
Clientelligence
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform