Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
OWord goto
Message
De
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:
01158676
Vues:
20
>>Can someone tell me how the following command would translate into VFP?
>
>>oWord.Selection.Goto wdGoToBookmark, Name:="DTotal"
>
>
>
>Since Name is the 4th parameter, you would do this in VFP:
>
>#DEFINE wdGoToBookmark -1
>oWord.Selection.GoTo(wdGoToBookmark,,,"DTotal")
>
>
>Here is the online help for this method:
>http://msdn.microsoft.com/library/en-us/vbawd11/html/womthGoTo1_HV03076852.asp
>
>Here is the online help for the Word enumerations:
>http://msdn.microsoft.com/library/en-us/vbawd11/html/wohowConstants_HV01049731.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?

Thanks
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform