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(