Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

Custom Page numbers in Word 2010 and customized TOC

Posted on 2013-05-14
4
Medium Priority
?
429 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
[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
4 Comments
 
LVL 21

Accepted Solution

by:
Eric Fletcher earned 2000 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

Microsoft Certification Exam 74-409

Veeam® is happy to provide the Microsoft community with a study guide prepared by MVP and MCT, Orin Thomas. This guide will take you through each of the exam objectives, helping you to prepare for and pass the examination.

Question has a verified solution.

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

I was prompted to write this article after the recent World-Wide Ransomware outbreak. For years now, System Administrators around the world have used the excuse of "Waiting a Bit" before applying Security Patch Updates. This type of reasoning to me …
If you need to forecast numbers -- typically for finance -- the Windows and Mac versions of Excel 2016 have a basket of tools to get the job done.
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 …
If you’ve ever visited a web page and noticed a cool font that you really liked the look of, but couldn’t figure out which font it was so that you could use it for your own work, then this video is for you! In this Micro Tutorial, you'll learn yo…

636 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