Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Excel error
Message
 
 
À
24/08/2000 10:11:47
Héctor Lizarraga
Gobierno Del Edo de Querétaro
Querétaro, Mexique
Information générale
Forum:
Visual FoxPro
Catégorie:
COM/DCOM et OLE Automation
Titre:
Divers
Thread ID:
00408726
Message ID:
00408748
Vues:
20
*snip*
>oExcel.Sheets("Hoja1").Select <- this line pass OK
>oExcel.Range("C25").Select <- classic OLE unknown COM state error
>

Off the top of my head, try accessing the range as a property of Sheets and not Application.

oExcel.Sheets("Hoja1").Range("C25").Select

HTH.
Larry Miller
MCSD
LWMiller3@verizon.net

Accumulate learning by study, understand what you learn by questioning. -- Mingjiao
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform