Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
VB syntax to VFW syntax
Message
From
20/10/1998 14:32:12
 
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00148448
Message ID:
00148591
Views:
26
Thank you very much. The syntax worked out to be
ox.selection.insert(xldown)



>Robert,
>
>It looks from your VB code that Shift is a named argument for the Shift method. VFP can't use named arguments so you have to put it in the right place in the method call:
>
>ox.Rows("1:3").select
>ox.Selection.Insert( [optional argument commas go here] xlDown )
>
>>Rows("1:3").select
>>Selection.Insert Shift:=xldown
>>
>>I tried:
>>ox.rows("1:3").select
>>ox.selection.insert.shift(xldown)
>>
>>The rows are inserted in to the worksheet but I get a Foxpro error telling me:
>>Member INSERT does not evaluate to an object.
Previous
Reply
Map
View

Click here to load this message in the networking platform