Solved

Custom Page numbers in Word 2010 and customized TOC

Posted on 2013-05-14
4
327 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Moving SharePoint 3.0 role to differen server 7 48
Microsoft Word Add-in Start automatically 8 46
PowerPoint Links 7 38
MS Word - back space and highlighting one list 15 47
Deploying a Microsoft Access application in a Citrix environment is not difficult but takes a few steps. However, Citrix system people are often of little help, as they typically know next to nothing about Access. The script provided here will take …
This article will show you how to use shortcut menus in the Access run-time environment.
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: …
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 …

861 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

22 Experts available now in Live!

Get 1:1 Help Now