Microsoft Office Forums

Go Back   Microsoft Office Forums > >

Reply
 
Thread Tools Display Modes
  #1  
Old 04-22-2018, 09:20 PM
leaning leaning is offline Word to HTM. How to get hyperlinks to open in new window. Windows 7 64bit Word to HTM. How to get hyperlinks to open in new window. Office 2010 64bit
Novice
Word to HTM. How to get hyperlinks to open in new window.
 
Join Date: Jan 2011
Posts: 16
leaning is on a distinguished road
Question Word to HTM. How to get hyperlinks to open in new window.

Hello. I made a .docx file that has hyperlinks to Internet webpages. I saved it as .htm so it would open as a webpage in a browser. When I click on a hyperlink, the new page goes over the referring page, and I have to use the Back button. What I'd like is for the hyperlinks to open in a new window, so the user can close those when complete, and the referring document would always be there.

I've added slash-zero to the Alt+F9 field codes, but nothing happened. Anyone know what the trick is?

I appreciate your help and info.
Regards,


leaning
Reply With Quote
  #2  
Old 04-22-2018, 11:16 PM
Guessed's Avatar
Guessed Guessed is offline Word to HTM. How to get hyperlinks to open in new window. Windows 10 Word to HTM. How to get hyperlinks to open in new window. Office 2016
Expert
 
Join Date: Mar 2010
Location: Canberra/Melbourne Australia
Posts: 3,932
Guessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant future
Default

When you insert a hyperlink, click on the Target Frame button and choose New Window. You can set this as default if all links should behave the same way.

This will add a tag in the head section of the html which says <base target="_blank">.
__________________
Andrew Lockton
Chrysalis Design, Melbourne Australia
Reply With Quote
  #3  
Old 04-23-2018, 03:11 PM
leaning leaning is offline Word to HTM. How to get hyperlinks to open in new window. Windows 7 64bit Word to HTM. How to get hyperlinks to open in new window. Office 2010 64bit
Novice
Word to HTM. How to get hyperlinks to open in new window.
 
Join Date: Jan 2011
Posts: 16
leaning is on a distinguished road
Default

Guessed,

That worked perfectly except the within document "Back to Top"s are also opening in a new window. So, it looks like I will have to Target Frame each hyperlink individually instead of checking the default action to jump to a new window. (I don't want the hyperlinks to an internal bookmark to open in a new window.)

Thanks!

Regards,
leaning
Reply With Quote
  #4  
Old 04-23-2018, 05:33 PM
Guessed's Avatar
Guessed Guessed is offline Word to HTM. How to get hyperlinks to open in new window. Windows 10 Word to HTM. How to get hyperlinks to open in new window. Office 2016
Expert
 
Join Date: Mar 2010
Location: Canberra/Melbourne Australia
Posts: 3,932
Guessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant future
Default

Ouch!

Yes, it sounds like you will need to manually set all the links you want to go to a new window. It is probably not that hard to automate if you know your way around macros.
__________________
Andrew Lockton
Chrysalis Design, Melbourne Australia
Reply With Quote
Reply

Thread Tools
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
Word to HTM. How to get hyperlinks to open in new window. Open different (additional) document in same window - view two documents side-by side in one window MANOHAR Word 5 11-14-2017 03:06 AM
Word to HTM. How to get hyperlinks to open in new window. Hyperlinks restrictions window now appearing in Word 2010 gogreen Word 4 10-06-2017 06:06 AM
trying to open a word 2010 document and opens the file conversion window starfish Word 2 05-24-2012 12:06 AM
Word to HTM. How to get hyperlinks to open in new window. Cannot open two separate MS word window bunny_biceps Word 2 08-17-2010 01:51 PM
Word 2003 .doc: open website .doc link inside of browser window SunnyOz Word 0 08-16-2010 01:23 AM

Other Forums: Access Forums

All times are GMT -7. The time now is 03:53 PM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.
Search Engine Optimisation provided by DragonByte SEO (Lite) - vBulletin Mods & Addons Copyright © 2024 DragonByte Technologies Ltd.
MSOfficeForums.com is not affiliated with Microsoft