Results 1 to 2 of 2
  1. #1
    3 Star Lounger
    Join Date
    Nov 2001
    Thanked 0 Times in 0 Posts

    Open Hyperlink as popup (Word 2000 SR-1)

    I using VB to loop through a heap of Word documents and creating hyperlinks to various other HTML documents. All works well (thanks to some previous help on this forum).

    One thing I would like to do however is to have the hyperlink open a document as a popup. Can this be done? If so, how?

    The code my VB uses to create the hyperlink is:

    ActiveDocument.Hyperlinks.Add Anchor:=Selection.Range, _
    Address:=hyperto & mainp

    where hyperto is the path of the HTML document and mainp is the name of the document I want to link to.

    Thanks in advance!

  2. #2
    Super Moderator jscher2000's Avatar
    Join Date
    Feb 2001
    Silicon Valley, USA
    Thanked 93 Times in 89 Posts

    Re: Open Hyperlink as popup (Word 2000 SR-1)

    Mimicking the HTML convention, try adding:

    <UL><pre>, Target:="_blank"</pre>
    [/list]to your .Add statement

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts