Opening Multiple Links at same time?

M

markaessex

Hello, please could someone help. I have a Word document that has
numerous hyperlinks within it to web based locations. I have a
requirement to save time and open many pages (or tabs) at the same
time within IE. Is there a way I can select a group of hyperlinks,
click once and all of the hyperlinks will open within IE in seperate
tabs (or windows)? Aside from the obvious memory issues which I will
allow for, this would save me a lot of time with a task I need to
accomplish which involves checking updated content across a number of
web pages each day? Any thoughts or help would be greatly appreciated,
Thanks - Mark.
 
J

Jay Freedman

Put this macro in Normal.dot or another global template, and assign a
toolbar button to it.

Sub OpenSelectedLinks()
Dim oLink As Hyperlink
For Each oLink In Selection.Hyperlinks
oLink.Follow
Next
End Sub

See http://www.gmayor.com/installing_macro.htm and
http://www.word.mvps.org/FAQs/Customization/AsgnCmdOrMacroToToolbar.htm if
needed.

Select the group of hyperlinks and click the button to run the macro. The
selection has to be all one piece; if you try to use the Ctrl key and select
disconnected areas, only the hyperlinks in the first selected area will
launch. That's a limitation of the way VBA sees the selection.

--
Regards,
Jay Freedman
Microsoft Word MVP
Email cannot be acknowledged; please post all follow-ups to the newsgroup so
all may benefit.
 
M

markaessex

Put this macro in Normal.dot or another global template, and assign a
toolbar button to it.

Sub OpenSelectedLinks()
Dim oLink As Hyperlink
For Each oLink In Selection.Hyperlinks
oLink.Follow
Next
End Sub

Seehttp://www.gmayor.com/installing_macro.htm...s/Customization/AsgnCmdOrMacroToToolbar.htmif
needed.

Select the group of hyperlinks and click the button to run the macro. The
selection has to be all one piece; if you try to use the Ctrl key and select
disconnected areas, only the hyperlinks in the first selected area will
launch. That's a limitation of the way VBA sees the selection.

--
Regards,
Jay Freedman
Microsoft Word MVP FAQ:http://word.mvps.org
Email cannot be acknowledged; please post all follow-ups to the newsgroup so
all may benefit.





- Show quoted text -

This worked a treat Jay - many thanks- it will save me a lot of
time....
 

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