Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Word GoTo Parameters
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
COM/DCOM et OLE Automation
Divers
Thread ID:
00460598
Message ID:
00460622
Vues:
9
>>>I am getting an error on the following line of code. Are there other parameters I have to include? These were the only one given by the Word macro recorder. TIA!
>>>
>>>oWord.Selection.GoTo(wdGoToBookmark, "Section_I_Table")
>>
>>The Word help file shows four parameters, all of which are optional, in the format: expression.GoTo(What, Which, Count, Name). It says that the "what" parameter may be one of a number of constants such as wdGoToBookmark, which you've defined, I assume. Do a search on your hard drive for vbawrd9.chm (for Office 2000).
>
>All is wonderful now. Thanks to all for your help. Thanks also for the RTFM tip. I was not sure where to look. All I knew was to start recording macros inside the Word document. Converting the code to VFP is simple but only works if you get all the parameters.

Good to hear it. But did I say "RTFM"?:-) Well, if I did (or you interpreted it that way), it was only because I knew you wouldn't take it the wrong way.< s >(At least that's my story and I'm sticking to it.< bg >)
George

Ubi caritas et amor, deus ibi est
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform