Microsoft Office Forums

Go Back   Microsoft Office Forums > >

Reply
 
Thread Tools Display Modes
  #1  
Old 02-25-2022, 11:59 AM
alang12a alang12a is offline Hyperlink to heading no longer works after edit Windows 10 Hyperlink to heading no longer works after edit Office 2021
Novice
Hyperlink to heading no longer works after edit
 
Join Date: Feb 2022
Posts: 4
alang12a is on a distinguished road
Default Hyperlink to heading no longer works after edit

Hi
I have created hyperlinks to headings within a word document.

Works great until I edit the heading eg move down a few lines or enter a page break (ctrl + return).

After edit and using the hyperlink it jumps to a blank space (where the heading used to be). On editing the hyperlink to see why the heading (hyperlink location) is now prefixed with a # eg #Heading Name.

This involves a lot of work to fix up hyperlinks after any edit.

How do I stop this happening?



Thanks
Alan
Reply With Quote
  #2  
Old 02-25-2022, 01:02 PM
Charles Kenyon Charles Kenyon is offline Hyperlink to heading no longer works after edit Windows 10 Hyperlink to heading no longer works after edit Office 2019
Moderator
 
Join Date: Mar 2012
Location: Sun Prairie, Wisconsin
Posts: 9,464
Charles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant future
Default

When you need space before a heading, modify the paragraph formatting to add space before. Do not press the Enter key at the beginning.

If you need to add text before the heading, do this at the end of the line before rather than at the beginning of the heading.

The thing is, what happens when you add a cross-reference to a heading (or it gets to be part of a Table of Contents) a hidden bookmark is created. When you press the Enter key or otherwise type at the beginning of your heading, the bookmark stretches to include what you have added instead of putting the additional material before the bookmark. The reference is actually to the bookmark, not to the heading.


Insert Cross-References
Reply With Quote
  #3  
Old 02-25-2022, 01:35 PM
alang12a alang12a is offline Hyperlink to heading no longer works after edit Windows 10 Hyperlink to heading no longer works after edit Office 2021
Novice
Hyperlink to heading no longer works after edit
 
Join Date: Feb 2022
Posts: 4
alang12a is on a distinguished road
Default

Charles
Thanks for your reply.

I have tried what you suggest and it works good.

Easy enough when creating space / adding lines before a heading.
It's a bit more tricky when you want to add a page break at the heading, normally I would click at start of the heading hit CTL Enter (ensuring the heading is at start of new page, No line spaces above). Now with your suggestion I create the page break by clicking on the line above the heading. This puts it on new page with a line space before heading. I can then delete that line (to get the heading at top of page) and the hyperlink works.

I figured that the link to the heading was similar / same as a bookmark, and did not follow the edit the Same as a table of contents link.

Shame it doesn't as that works well.


Thanks again.
Reply With Quote
  #4  
Old 02-25-2022, 03:28 PM
Charles Kenyon Charles Kenyon is offline Hyperlink to heading no longer works after edit Windows 10 Hyperlink to heading no longer works after edit Office 2019
Moderator
 
Join Date: Mar 2012
Location: Sun Prairie, Wisconsin
Posts: 9,464
Charles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant future
Default

Quote:
Originally Posted by alang12a View Post
Charles
Thanks for your reply.

I have tried what you suggest and it works good.

Easy enough when creating space / adding lines before a heading.
It's a bit more tricky when you want to add a page break at the heading, normally I would click at start of the heading hit CTL Enter (ensuring the heading is at start of new page, No line spaces above). Now with your suggestion I create the page break by clicking on the line above the heading. This puts it on new page with a line space before heading. I can then delete that line (to get the heading at top of page) and the hyperlink works.

I figured that the link to the heading was similar / same as a bookmark, and did not follow the edit the Same as a table of contents link.

Shame it doesn't as that works well.

Thanks again.
Even better, change the paragraph formatting for your heading to have the attribute of Page Break before rather than using a manual page break. If you want this for most of your headings, modify the style to have this attribute.

Manual page breaks used to really make documents harder to edit. They are better now but still usually not needed.
Reply With Quote
  #5  
Old 02-25-2022, 04:41 PM
alang12a alang12a is offline Hyperlink to heading no longer works after edit Windows 10 Hyperlink to heading no longer works after edit Office 2021
Novice
Hyperlink to heading no longer works after edit
 
Join Date: Feb 2022
Posts: 4
alang12a is on a distinguished road
Default

Thanks for extra info, I will also use that 👍.

I am creating an procedure manual for a process. There is a few "what if" scenarios so planning to use the hyperlinks to branch off to other sections of the document.

I will use ctrl + left arrow to go "back" and added "back" and "forward" command buttons to "quick start menu".

These work good, although I was thinking it would be better to somehow embed in the document to make it easier to navigate for other users, and when I turn the doc into a pdf.


Any other tips would be appreciated.
Reply With Quote
  #6  
Old 02-25-2022, 09:20 PM
Charles Kenyon Charles Kenyon is offline Hyperlink to heading no longer works after edit Windows 10 Hyperlink to heading no longer works after edit Office 2019
Moderator
 
Join Date: Mar 2012
Location: Sun Prairie, Wisconsin
Posts: 9,464
Charles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant future
Default

Use the built-in heading styles. Why Use Word's Built-In Heading Styles? by Shauna Kelly They help with building your Table of Contents and also translate automatically to pdf bookmarks. In Word, they show up in the Navigation Pane.
Reply With Quote
  #7  
Old 02-26-2022, 06:50 AM
alang12a alang12a is offline Hyperlink to heading no longer works after edit Windows 10 Hyperlink to heading no longer works after edit Office 2021
Novice
Hyperlink to heading no longer works after edit
 
Join Date: Feb 2022
Posts: 4
alang12a is on a distinguished road
Default

Good info, Thanks
Reply With Quote
Reply



Similar Threads
Thread Thread Starter Forum Replies Last Post
Macro no longer works Halda Word VBA 7 03-10-2021 12:31 PM
Mailsound and desktop notifications no longer works Merlin Outlook 0 01-23-2018 01:06 AM
Hyperlink to heading no longer works after edit Help with a formula which no longer works. Silkwood Excel 2 03-21-2017 02:25 PM
2007 office key no longer works millertime Office 6 02-19-2012 07:50 PM
Ctrl+Home no longer works to get me to beginning of doc. migdaw01 Word 0 01-13-2011 12:11 PM

Other Forums: Access Forums

All times are GMT -7. The time now is 09:56 AM.


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