Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
OWord goto
Message
From
02/10/2006 16:24:00
 
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Title:
Miscellaneous
Thread ID:
01158319
Message ID:
01158676
Views:
19
>>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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform