Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Append Routine
Message
De
10/12/1998 10:27:41
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
 
 
À
10/12/1998 10:17:19
Thierry Yuen
Stantec Architecture Ltd.
Calgary, Alberta, Canada
Information générale
Forum:
Visual FoxPro
Catégorie:
FoxPro 2.x
Titre:
Divers
Thread ID:
00165163
Message ID:
00166066
Vues:
18
>Cetin:
>
>For some reason, the database doesn't like the 'xlExcel2' at the end of the SaveAs. Do you know why this may be? It's telling me that the variable 'xlExcel2' is not defined. Apparently, it's reading it as a variable and not as an object name. Your thoughts?
>
>Thierry
Thierry,
It's a constant value and defined as 16. In the code I sent I should have included :
#define xlExcel2 16
and again pls beware this is for Excel8 (Excel97). I don't know values for Excel95 (and correct syntax). If you're using Excel95, you could get the correct value :
-Open Excel
-Select tools\macro\VB editor
-Press F2 to bring up "Object browser"
-Find needed xlConstant type ie: xlFileFormat
-On right window click needed Constant ie: xlExcel2
-Below the window constant value is displayed
Cetin
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform