Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Different versions of excel
Message
 
À
06/03/2001 19:04:54
Information générale
Forum:
Visual Basic
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00481240
Message ID:
00482526
Vues:
10
>Actually, the problem occurs here:
>
>>> Set xlApp = CreateObject("Excel.Application")
>
>Excel97 doesn't fire up, but Excel 2000 does. What do you think's wrong?

Try this:

-Remove the reference to Excel.
-Declare as object (Dim xlApp as Object).
-Instantiate your object (Set xlApp = CreateObject("Excel.Application"))
Éric Moreau, MCPD, Visual Developer - Visual Basic MVP
Conseiller Principal / Senior Consultant
Moer inc.
http://www.emoreau.com
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform