Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Foxpro to Excel
Message
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Title:
Miscellaneous
Thread ID:
00234738
Message ID:
00235421
Views:
20
Jason,

Has your code created an excel object, open a workbook and referenced a sheet?
"xlToRight" and "xlDown" have worked for me. If you have excel visible, at this point you should see the cursur in cell B2.
>>with objsheet
>> .Range("A1").Select
>> .Selection.End(xlToRight).Select
>> .Selection.End(xlDown).Select
>>endwith
>
>Umm, I haven't used that command, sometimes you have to play with them, unless someone else can chime in with help. It looks like maybe too many Selects, is my first thought...you might try something like
>
>.Selection.End = xlToRight
Previous
Reply
Map
View

Click here to load this message in the networking platform