Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Excel error
Message
 
 
To
24/08/2000 10:11:47
Héctor Lizarraga
Gobierno Del Edo de Querétaro
Querétaro, Mexico
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Title:
Miscellaneous
Thread ID:
00408726
Message ID:
00408748
Views:
19
*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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform