View Single Post
 
Old 04-14-2016, 05:27 PM
raymm3852 raymm3852 is offline Windows 10 Office 2016
Novice
 
Join Date: Apr 2016
Posts: 6
raymm3852 is on a distinguished road
Question Find Bookmark, move to bookmark, execute code, repeat

Newbie question.

Code is:
Sub EnterTranscriptPages()
While ActiveDocument.Bookmarks.Exists("TranscriptPage") = True
Selection.Find.Execute
Selection.NextField.Select
Selection.Fields.Update
Wend
End Sub

Problem is I need to see the field so I can read the paragraphs around the field so I can know what info to enter into the update box.

Now it runs the code, shows me each input box, but doesn't change the screen from the starting point.
Reply With Quote