Microsoft Knowledge Base Email Alertz

(170309) - In Microsoft Excel 97, when you save a worksheet as a Hypertext Markup Language (HTML) document by using the Internet Assistant Wizard add-in, named locations in hyperlinks are not preserved.

Search KbAlertz

Advanced Search

Receive Microsoft Knowledge Base articles by E-Mail?

Every night we scan the Microsoft Knowledge Base. If technologies you're interested in are updated, we'll send you an e-mail. You only get one e-mail a day, and only when new articles are added.

Click here to create a
FREE account
Already have an account?
[Click here to Login]











Microsoft Knowledge Base Article

This article contents is Microsoft Copyrighted material.
©2005-©2007 Microsoft Corporation. All rights reserved. Terms of Use | Trademarks

Article ID: 170309 - Last Review: June 12, 2007 - Revision: 1.3

XL97: Named Locations in Hyperlinks Missing After Saving as HTML

This article was previously published under Q170309

SYMPTOMS

In Microsoft Excel 97, when you save a worksheet as a Hypertext Markup Language (HTML) document by using the Internet Assistant Wizard add-in, named locations in hyperlinks are not preserved.

CAUSE

The Internet Assistant Wizard, Html.xla, which is included with Microsoft Excel 97 and allows you to save HTML files, does not support saving named locations in hyperlinks. This is also true of the updated Microsoft Internet Assistant Wizard add-in that is available from the following Microsoft Web site:
http://office.microsoft.com/downloads/9798/html.aspx (http://office.microsoft.com/downloads/9798/html.aspx)

STATUS

This behavior is by design of Microsoft Excel 97. This feature is under review and will be considered for inclusion in a future release.

MORE INFORMATION

In Microsoft Excel 97, you can create a hyperlink to an external Web location on a worksheet by clicking Hyperlink on the Insert menu. As part of the hyperlink, you can specify a named location in the target document. An example of this kind of hyperlink is as follows:
http://example.microsoft.com/mydoc.htm#section3


Note that "section3" is the named location in Mydoc.htm.

Clicking the hyperlink opens the target HTML file, Mydoc.htm, in Microsoft Internet Explorer and positions the section3 location at the top of the browser window.

If you save a Microsoft Excel worksheet as an HTML document, the hyperlink to the target document is preserved; however, the reference to the named location in the target document is not included in the HTML file. For example, the resulting link in the HTML file is as follows:
http://example.microsoft.com/mydoc.htm


Note that the link does not contain the reference to section3. Clicking on the hyperlink opens the target document but ignores the named location you previously specified.

REFERENCES

For more information about converting Microsoft Excel files to HTML format, click the Index tab in Microsoft Excel Help, type the following text
html
and then double-click the selected text to go to the "Publish Microsoft Excel data on the Web" topic.

APPLIES TO
  • Microsoft Excel 97 Standard Edition
Keywords: 
kbdownload kbprb kbweb KB170309
Retired KB ArticleRetired KB Content Disclaimer
This article was written about products for which Microsoft no longer offers support. Therefore, this article is offered "as is" and will no longer be updated.
       

Community Feedback System

Very often, it takes hours to solve a problem. Very often, you've looked high and low, and have tried a lot of solutions. When you finally found it, chances are, it was because someone else helped you. Here's your chance to give back. Use our community feedback tool to let others know what worked for you and what didn't.

Please also understand that the community feedback system is not warranted to be correct, it's simply a system that we've built to let people try and help each other. If something in a feedback response doesn't make sense to you, or you're not comfortable making changes that the feedback talks about (like registry edits), please consult a professional.

Thank you for using kbAlertz.com Feedback System.

-- Scott Cate