by Allen Wyatt
(last updated August 10, 2013)
Hudson noted that when he creates a hyperlink to a webpage within Excel, the link works fine—when he clicks the link, the browser is opened and the webpage displayed. However, when Hudson turns the worksheet into a webpage, the hyperlink doesn't work like he wants it to. When someone clicks on the link, the target webpage opens in the same browser window and Hudson would prefer that it open in a new browser window. He wonders if there is some way to tell Excel, when creating the hyperlink, to open the target in a new browser window.
There is, unfortunately, no way to do this within Excel that we've been able to discover. What has to happen is that the HTML anchor tag has to include the target attribute (which it doesn't, by default) and the target needs to be set to "_blank". Excel doesn't provide a way to get this specific with how you want hyperlinks to be handled.
The only solution is, undoubtedly, unsatisfactory—you need to edit the HTML code created by Excel so that the links include the target attribute. You can open the file in any text editor, such as Notepad, but the manual editing of the links is time-intensive and every time you regenerate the webpage within Excel you'll overwrite your previous changes to the HTML document.
ExcelTips is your source for cost-effective Microsoft Excel training. This tip (4080) applies to Microsoft Excel 2000, 2002, and 2003.
Save Time and Supercharge Excel! Automate virtually any routine task and save yourself hours, days, maybe even weeks. Then, learn how to make Excel do things you thought were simply impossible! Mastering advanced Excel macros has never been easier. Check out Excel 2010 VBA and Macros today!
The HYPERLINK function is great for linking to Web pages and some other resources, but it won't allow you to access a target ...Discover More
When you create a worksheet that is destined for viewing on the Web, you will want to specify the monitor resolution you ...Discover More
Is your worksheet information destined for a Web page? Here's how you can specify the fonts that should be used when Excel ...Discover More
FREE SERVICE: Get tips like this every week in ExcelTips, a free productivity newsletter. Enter your address and click "Subscribe."
Got a version of Excel that uses the menu interface (Excel 97, Excel 2000, Excel 2002, or Excel 2003)? This site is for you! If you use a later version of Excel, visit our ExcelTips site focusing on the ribbon interface.