Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How to create a bookmark in Word

Status
Not open for further replies.

hellohello1

Technical User
Jun 30, 2006
110
US
I am using Internet Explorer 6, Microsoft Office 2003 Service Pack 3, and Microsoft Office SharePoint Portal Server 2003.

I have a Word document on the Sharepoint site. The Word document has a bookmark in it that I named Classification.

I put the bookmark in the URL:
It works fine for me: when I click the URL, it opens the Word document and puts the cursor at the Classification bookmark. Great.

But when I asked my colleague to test it, the cursor went only to the first page of the document, not to the bookmark.

Could it have to do with Sharepoint rights? I have admin rights while he has readonly. If so, is there a way to force the bookmark to work?

Thanks!
 
I think I narrowed down the problem:

Sometimes when I click on the link, the document opens in Microsoft Word and the bookmark does not work.

But sometimes the document opens in Internet Explorer and the bookmark does work.

So I am trying to figure out either: how to force the document to use IE to open (instead of Word). Or how to create a link that contains a bookmark that works when the document is opened with Microsoft Word.

Any ideas?

Thanks,


 
put the bookmark in the URL"

As Address, or SubAddress? Normally, bookmarks will be as SubAddress. If you toggle the code is the bookmark name following a \l?

eg. \l "bookmarkName"

247.50 hours to retirement
 
Thanks for writing.

I don't have any code. In my Word 2003 document (which is stored on Sharepoint 2003), I created a bookmark called Classification. Then, I embedded that Word bookmark in the URL using "#".

This is part of the URL:


Usually it works when I click the URL. The Word document opens at the correct bookmark. The document opens using Internet Explorer (we're still using IE6). But sometimes when I click the URL, the Word document opens in Microsoft Word and the bookmark doesn't work. The document opens at the first page.

I can't figure out why. I asked a few people to test. It works for some (document opens in IE and it opens to the correct bookmark) and it doesn't work for others (document opens in Word and opens to the first page).

Thanks
 
Some more info I discovered while trying to troubleshoot:

I know if the document opens in Word, the bookmark doesn't work. If the document opens in Internet Explorer (IE), the bookmark works.

I went to IE (version 6) and went to Tools, Internet Options and Delete Cookies, Delete Files, and Clear History. Then I closed IE. Then I clicked the hyperlink and Word opened (and the bookmark didn't work). But the second time the link was clicked, IE opened (showing the correct bookmark). I tried a few times after that and IE kept opening with the correct bookmark.

Then I went back to IE, Tools, Internet Options and Delete Cookies, Delete Files, and Clear History. Then I closed IE. I tried the hyperlink again and saw the pattern again: Word opened the first click, then IE opened everytime after that.

Weird! Any ideas of how to force IE to open the hyperlink every time?

Thanks,
 
In Word, press Alt-F9 to see the code (it does have a code) of the hyperlink. Does it show a \l bookmark_name?

247.50 hours to retirement
 
I'm not sure I can help, but I'm happy to chip in :) ..

.. using Word Bookmarks in hyperlink sub-addresses doesn't work properly in Word - as you have found out.

.. when you say the document opens in IE, I presume you mean that Word opens inside the browser, rather than standalone (if it's anything else I think it must be SharePoint functionality that I know nothing about). Assuming so, I believe this is - or was - controlled by the "browse in same window" option in Windows Explorer > Tools > Folder Options > File Types tab > Advanced. I don't know if this option is available in Vista - if it is it is pretty well hidden - but I think it can be changed via the registry.

.. that you get a difference after cleaning out your IE settings is interesting - I don't know what may cause that, and I don't have IE6 available anywhere any more.


Enjoy,
Tony

------------------------------------------------------------------------------------
We want to help you; help us to do it by reading this: Before you ask a question.

I'm working (slowly) on my own website
 
thanks for writing.

yes, Word opens inside the browser, rather than in the standalone Microsoft Word application.

I'm using Win XP, service pack 3 (not Vista). this is for my work computer and when i try to go to Windows Explorer, Tools, Folder Options, File Types, and click on DOC, the Advanced button is grayed out.

I also wouldn't be able to change the registry.

I am thinking this is a Sharepoint question more than a Word question. I have Sharepoint Team Site 2003 Workspace 2.0.

thanks,
 
I think that the "Advanced" option can be controlled through Policies, so it sounds like your sysadmins are preventing you looking there.

However it would seem as if something in IE is, at least in part, controlling what happens and I'm afraid I have no idea what. Do you see the same behaviour hyperlinking to documents that are not on your SharePoint server? If so that would rule out SharePoint as being responsible - and if not, rule it firmly in.

Enjoy,
Tony

------------------------------------------------------------------------------------
We want to help you; help us to do it by reading this: Before you ask a question.

I'm working (slowly) on my own website
 
thanks again for writing.

i am not able to host other Word documents outside of Sharepoint, so i can't test it.

but someone gave me the idea of trying it with an Adobe file. I am using Adobe Acrobat 8 Professional.

So i converted my Word document to Adobe and it works! Although with Adobe, Bookmarks don't work---you have to create something called a Destination.

this article explains it:
To create a Destination in Adobe: go to View, Navigation Panels, Destinations. Navigate to the location where you want to create a destination. In the Destinations panel, choose New Destination from the Options menu, and name the destination.

then at the end of the URL, add #[your_destination_name]
ex:

Thanks
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top