Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Word / General MS Word Questions / January 2004

Tip: Looking for answers? Try searching our database.

Hyperlink in Word Document

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
birdmeng - 10 Jan 2004 16:29 GMT
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.

------------------------------------------------
Greg Maxey - 11 Jan 2004 22:57 GMT
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.

Signature

Greg Maxey
A peer in "peer to peer" support
Rockledge, FL
To e-mail, edit out the "w...spam" in gmaxey@whamspammvps.org

> 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
[quoted text clipped - 7 lines]
> ~~View and post usenet messages directly from
> http://www.ExcelForum.com/
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.