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

Click here to load this message in the networking platform