Hyperlink in Word Document

  • Thread starter Thread starter birdmeng
  • Start date Start date
B

birdmeng

I insert a hyperlink in the Word document, which links to another Word
document. When I kick the hyperlink to open the second document, I want
to close the orginal document (so I have only one Word document open).

Is this possible? Thanks in advance.
 
Birdmeng,

I have never tried this before, but I created an AutoOpen() macro in the
hyperlink target document as follows:

Sub AutoOpen()
Documents("D:\My Documents\Word Documents\Test.doc").Close
End Sub

When the target document opens it save changes and closes the source
document. You would have to provide your own document path and name.
 
Back
Top