Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
VB syntax to VFW syntax
Message
 
 
To
20/10/1998 09:19:41
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00148448
Message ID:
00148571
Views:
17
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.
df (was a 10 time MVP)

df FoxPro website
FoxPro Wiki site online, editable knowledgebase
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform