Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
OWord goto
Message
 
À
02/10/2006 16:24:00
Information générale
Forum:
Visual FoxPro
Catégorie:
COM/DCOM et OLE Automation
Titre:
Divers
Thread ID:
01158319
Message ID:
01158679
Vues:
23
This message has been marked as the solution to the initial question of the thread.
Hi Don,

>>Here is the online help for this method:
>>http://msdn.microsoft.com/library/en-us/vbawd11/html/womthGoTo1_HV03076852.asp
>
>Thanks Bo. Your reply suggests I could figure this out myself if I understood counting the parameters. If wdGoToBookmark is parameter 1, and Name is parameter 4, what are 2 and 3 in the original statement?

From the online help (link above):
.GoTo(What, Which, Count, Name)
You can get a list of parameters via intellisense if you set the type for oWord. Try typing this in a program file. The parameter list appears when you type the left paren:
LOCAL oWord AS Word.Application
oWord.Selection.GoTo(
Or this in the Command Window
oWord = NEWOBJECT("Word.Application")
oWord.Selection.GoTo(
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform