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

Click here to load this message in the networking platform