Go To dialog

  • Thread starter Thread starter stman
  • Start date Start date
S

stman

Hi,

I'm trying to create a macro that displays the Go To dialog box with
settings already in place, so the user can find and determine their action
for each found instance individually. The settings are:

Go to what: Field
Enter field name: REF

I've got this working:

Selection.GoTo What:=wdGoToField, Which:=wdGoToNext, Count:=1, Name:="REF"

....which actually goes to the exact item and highlights it. But if I then add:

Dialogs(wdDialogEditGoTo).Display

....the Go To dialog opens but with some other settings. How can I retain the
wdGoToField, wdGoToNext, and Name settings in the displayed dialog?
 
Unfortunately, dialog box arguments are poorly documented in Word VBA Help.
To get assistance with this, you'd better ask in a programming newsgroup such
as microsoft.word.vba.general.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top