stevenarin
Instructor
I know how to use the shell command in VB6 to load a specific Word document. I want to know how to have that document load and go right to a predefined bookmark within word.
Thanks
Thanks
Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
Dim objWord As New Word.Application
objWord.Documents.Open ("C:\Bookmark1.doc")
objWord.Selection.GoTo wdGoToBookmark, , Name:="Bookmark2"
objWord.Visible = True
Set objWord = Nothing