Solved

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

Posted on 2008-10-13
4
1,856 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
  • 2
4 Comments
 
LVL 21

Accepted Solution

by:
EricFletcher 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:EricFletcher
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

Optimizing Cloud Backup for Low Bandwidth

With cloud storage prices going down a growing number of SMBs start to use it for backup storage. Unfortunately, business data volume rarely fits the average Internet speed. This article provides an overview of main Internet speed challenges and reveals backup best practices.

Question has a verified solution.

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

Do you ever need to create a 20 page Word document for some testing purpose? Are you tired of copying & pasting old boring "lorem ipsum" text over and over again, increasing font size and line space in order to make the document 20+ pages long? Look…
Microsoft Word is a program we have all encountered at some point, but very few of us have dug deep into its full scope of features, let alone customized it to suit our needs. Luckily making the ribbon (aka toolbar, first introduced in Word 2007) wo…
Office 365 is currently available in five editions. Three of them are for business use: Office 365 Business Essentials, Office 365 Business, and Office 365 Business Premium. Two of them are for home/personal use: Office 365 Home and Office 365 Perso…
In a previous video Micro Tutorial here at Experts Exchange (http://www.experts-exchange.com/videos/1358/How-to-get-a-free-trial-of-Office-365-with-the-Office-2016-desktop-applications.html), I explained how to get a free, one-month trial of Office …

773 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