vba linking Excel and Word

M

Mr BT

I need to have my Excel custombutton open a specific DOC file.
I have several bookmarks in the DOC file I would like to reference as part
of a help file.
I have figured out how to open the DOC file using hyperlink vb as below:

'
ActiveWorkbook.FollowHyperlink Address:= _
"C:\HelpFile\Help Me With Find Duplicates.doc", NewWindow:=False, _
AddHistory:=True
End Sub

If I'm not able to find the bookmarks with this script (please fill in the
blanks above) then I will need to have over 50 txt files using the above
(replace .doc with .txt)

If anyone can help I would appreciate the assistance.

Mr BT
 

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

Top