Solved

How do I create a breadcrumb trail header in Word (eg Heading1 - Heading2 - Heading3

Posted on 2008-10-13
4
1,981 Views
Last Modified: 2012-05-05
I have a large Word Document that needs a customised header.  I need to show the reader on every page where they are within the document.  I am consistently using Heading styles so I would like to have a header like this:
heading1 - heading2 - heading3 - page_num
I hope that makes sense.  To me it seems a fairly basic requirement that isn't available prebuilt within Word.
0
Comment
Question by:ochristmas
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
4 Comments
 
LVL 21

Accepted Solution

by:
Eric Fletcher earned 200 total points
ID: 22702428
You can use the STYLEREF field codes to do this. In your header, choose Insert | Field, and select the Styleref field. From the options that get displayed on the right, select Heading 1 and OK. Add your punctuation and repeat for each of the other 2 headings and end with the page number field.

Styleref will display the content of the last instance of the named style. You can choose options to modify how Word looks for the style on the page (from Help, look for "STYLEREF field switches" for details).
0
 

Expert Comment

by:silviomel
ID: 22708821
Use the customize page number field to create custom headers if that makes any sense.  In other words use custom page number field and type the custom headers that you would like for each page.  In addition you can add an additional page field code for the page number.
0
 

Author Comment

by:ochristmas
ID: 22709642
Thanks for that EricFletcher.  My only issue with the solution is you have to decide the depth of the breadcrumb across the board.  By this I mean:
If one section of the site goes to 5 levels and later it goes to just 2 it still adds the 3 old sub-levels.  Does that make sense?
0
 
LVL 21

Expert Comment

by:Eric Fletcher
ID: 22710906
Yes, that is a limitation.

I suppose if you were using numbering with the headings, it may be possible to use IF fields to determine if the current levels were all the same, and not include any sublevels that had a number lower than the level 1... I haven't tried that, but I'm sure it would be complicated!

Another workaround might be to pad the content with empty headings to the level you want to breadcrumb whenever you change up to a different level. The STYLEREF field would then display the empty paragraph's content. If you used an IF field, you could test for an empty result and suppress the following dash separator.

0

Featured Post

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I would like to show you some basics you can do with Mailings in MS Word. It´s quite handy feature you can use for creating envelopes, labels, personalized letters etc. First question could be what is this feature good for? Mailing can really he…
This article describes how to use the Send to Mail Recipient command. The instructions apply generally to Office 2007 and later versions, but Microsoft® Word 2013 was used for the specific steps and figures.  What is Send to Mail Recipient? Send…
This video walks the viewer through the process of creating envelopes and labels, with multiple names and addresses. Navigate to the “Start Mail Merge” button in the Mailings tab: Follow the step-by-step process until asked to find the address doc…
This video shows where to find the word count, how to display it, and what it breaks down to in Microsoft Word.

717 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question