Solved

Custom Page numbers in Word 2010 and customized TOC

Posted on 2013-05-14
4
322 Views
Last Modified: 2015-01-16
I have a client who has been working in Word Perfect for years.  They are switching to Word 2010.  They need their page numbers to have letters in front but I want them to be able to automatically update their TOC.  Also in their TOC they want the page numbers to read Notice of Letting NL-1 -- NL-5, etc.  

Is there any way to:
1.  Have Word read letters as well as numbers for the page numbers
2.  Have Words TOC say from this page to this page in the page number area

I know the document isn't set up perfectly.  I am working with them on using Headings etc.  I added a few headings in so you could get an idea of where it would be going.  Thanks for any help on this!
spec-practice.docx
0
Comment
Question by:karaflanagan
4 Comments
 
LVL 21

Accepted Solution

by:
EricFletcher earned 500 total points
ID: 39167943
First, you really ought to consider using styles for a project like this. It may be possible to use just direct formatting, but it'll be much more complicated in the long run. I'd recommend using the built-in style names (Heading 1, Heading 2, etc. for your headings and sub-heads; Body Text & variants for the main content) and then modify the style definitions to manage the formatting.

In your sample, you use Normal for almost everything except for a few paragraphs set as "Header" (usually reserved for page headers). You also have inconsistent formatting for tabs and indents: some use multiple spaces; others use one or more tabs. Ideally, all indents and tabs would be managed by the style definitions.

For your specific ToC question though... The TOC field code cannot manage ranges of page numbering. Moreover, although page numbering can contain a chapter identifier that can be a letter, it isn't designed for lettering out of sequence to get ranges like "NL-1—NL-5". (You could reset numbering to start at "N", but not "NL".)

However, the index function can include page ranges (but not with the prefixes as above), so perhaps you could look into using it instead if the prefix is not essential. A page number range is managed by referring to a bookmarked region in a document within the XE field code. So, as an example, if you created a bookmark named bmLetting to include all of your Notice of Letting section, the index mark field code { XE "Notice of Letting" \r bmLetting } would display an entry as "Notice of Letting, 20–25" in the index.

A possible semi-automated alternative would be to use bookmarks and PAGEREF field codes. You'd need to have bookmarks at the start and end of a section to be able to get the page numbers, but the reference would need to have the prefixes entered manually. For example, with bmNLstart and bmNLend bookmarks set, and you used the following:

Notice of Letting .... NL-{ PAGEREF bmNLstart } — NL-{ PAGEREF bmNLend }

it would display as a pseudo table of contents:

Notice of Letting .... NL-4 — NL-16
0
 

Author Comment

by:karaflanagan
ID: 39168857
Eric,

Thank you for the suggestions, I will check into them as soon as I get a chance.  I am working with the client to create customized heading styles to use in the creation of their documents.  I know that the information is not in the ideal format.  Thanks for the suggestions on the page ranges.
0

Featured Post

Why You Should Analyze Threat Actor TTPs

After years of analyzing threat actor behavior, it’s become clear that at any given time there are specific tactics, techniques, and procedures (TTPs) that are particularly prevalent. By analyzing and understanding these TTPs, you can dramatically enhance your security program.

Join & Write a Comment

Article by: Leon
Software Metering within our group of companies has always been an afterthought until auditing of software and licensing became a pain point. Orchestrator and SCCM metering gave us the answer and it was an exciting process.
No matter the version of Windows you are using, you may have some problems with Windows Search running too slow or possibly not running at all. Before jumping into how you can solve this issue, just know there are many other viable alternative deskt…
The viewer will learn how to  create a slide that will launch other presentations in Microsoft PowerPoint. In the finished slide, each item launches a new PowerPoint presentation and when each is finished it automatically comes back to this slide: …
Polish reports in Access so they look terrific. Take yourself to another level. Equations, Back Color, Alternate Back Color. Write easy VBA Code. Tighten space to use less pages. Launch report from a menu, considering criteria only when it is filled…

747 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

Need Help in Real-Time?

Connect with top rated Experts

9 Experts available now in Live!

Get 1:1 Help Now