PPT2000: PowerPoint Hyperlinks Cannot Contain a Pound Sign (#)

ID: Q226779


The information in this article applies to:


SYMPTOMS

When you use the Save As Web Page command on the File menu to convert your presentation into a Web page, some or all of the hyperlinks may not be translated correctly.


CAUSE

PowerPoint does not preserve hyperlinks that include a reference to an anchor or bookmark within the same or another HyperText Markup Language (HTML)document. These types of hyperlinks include the Uniform Resource Locator (URL), followed by a number sign (#), followed by a unique identifier to designate the anchor or bookmark within the destination link, similar to the following:


HREF="/www.microsoft.com/office/ork/020/020.htm#ORK020C1 


Additionally, if a folder contains a number sign (#), (for example 'user#1') and the hyperlinked document is in that folder, or subfolder, the hyperlink will break when the presentation is saved as a Web page.


WORKAROUND

To work around this problem, use one of the following methods.

Method 1: Avoid References That Use Unique Identifiers

You may avoid this problem by not using references that use unique identifiers, such as anchors or bookmarks.

Method 2: Edit The Converted File and Correct The Hyperlink

Edit the HTML file using an HTML editor, such as Microsoft FrontPage, or a text editor, such as Notepad. At the end of the URL, add the number sign (#) and the unique identifier. For example, change this:


HREF="/www.microsoft.com/office/ork/020/020.htm 
to this:

HREF="/www.microsoft.com/office/ork/020/020.htm#ORK020C1 
NOTE: The URL may be listed multiple times within your presentation. Use a search tool to locate and modify all references to the bookmark.

NOTE:Microsoft provides programming examples for illustration only, without warranty either expressed or implied, including, but not limited to, the implied warranties of merchantability and/or fitness for a particular purpose. This article assumes that you are familiar with the programming language being demonstrated and the tools used to create and debug procedures. Microsoft support professionals can help explain the functionality of a particular procedure, but they will not modify these examples to provide added functionality or construct procedures to meet your specific needs. If you have limited programming experience, you may want to contact a Microsoft Certified Solution Provider or the Microsoft fee-based consulting line at (800) 936-5200. For more information about Microsoft Certified Solution Providers, please see the following page on the World Wide Web:

http://www.microsoft.com/mcsp/
For more information about the support options available from Microsoft, please see the following page on the World Wide Web:

http://www.microsoft.com/support/supportnet/refguide/


STATUS

Microsoft has confirmed this to be a problem in Microsoft PowerPoint 2000.

Additional query words: PPT2K PPT2000 PPT POWERPNT 2000 PPT9 9.0 bookmark


Keywords          : kbdta kbweb kbhtml 
Version           : WINDOWS:2000
Platform          : WINDOWS 
Issue type        : kbbug 

Last Reviewed: June 28, 1999