View Single Post
 
Old 02-07-2012, 05:56 PM
macropod's Avatar
macropod macropod is offline Windows 7 64bit Office 2010 32bit
Administrator
 
Join Date: Dec 2010
Location: Canberra, Australia
Posts: 22,467
macropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond repute
Default

Hi Philip,

Try something along the lines of:
Code:
Sub OpenWebDoc()
ActiveDocument.FollowHyperlink Address:="https://www.msofficeforums.com/attachment.php?attachmentid=1932&d=1328652267", _
    NewWindow:=False, AddHistory:=False
End Sub
For more info, see the vba help for the 'FollowHyperlink' method. The above will open a safe document attached to a post in another thread in this forum.
__________________
Cheers,
Paul Edstein
[Fmr MS MVP - Word]
Reply With Quote