Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
VB syntax to VFW syntax
Message
 
 
À
20/10/1998 09:19:41
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00148448
Message ID:
00148571
Vues:
18
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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform