how do i delete page numbers on a table of contents?

G

Guest

I am working on a table of contents for a legal brief and on the TOC its self
i want only certain lines to have the actual page number i.e. heading has
page number and sub heading does not. i know before i was able to do it by
going to the end of a the line and delete three times and the .......3 will
delete but now it is highlighting everything in that is connected to that
page number (.......3).

please help! i appreciate any help that you can give
 
G

Guest

What you are probably experiencing is the dreaded 'hyperlinking' of the TOC
entries.

This also drives me crazy. To be able to just select the pages number ...

Turn on View Field Codes (Tools | Options | View Tab | Field Codes).
You should see something that resembles the following:
{ TOC \o "1-3" \h \z}

It is the "\h" that is causing your the trouble. Remove the \h from the
field code. This is the trigger for the hyperlinking.

Turn off View Field Codes.

Now you can remove the page numbers on the TOC entries you need to.

Regards,

Gilley
 
S

Suzanne S. Barnhill

While this is true, it is not an answer to the question. To omit page
numbers, you have to include the \n switch in the TOC field code. See
http://word.mvps.org/FAQs/Formatting/TOCSwitches.htm

--
Suzanne S. Barnhill
Microsoft MVP (Word)
Words into Type
Fairhope, Alabama USA

Email cannot be acknowledged; please post all follow-ups to the newsgroup so
all may benefit.
 
G

Guest

Thank you so much Gilley. that is exactly what i was looking for. but what
if you wanted the TOC to be a hyperlink but want to format it the way i just
decribed (ie delete page num etcs)

or you cant have your cake and eat it too.
 
S

Suzanne S. Barnhill

Even when you remove the \h switch, the page numbers are still hyperlinked.
Moreover, removing the page numbers manually will have no effect since they
will be added back the next time you update the TOC. You *must* use the \n
switch to remove page numbers.

--
Suzanne S. Barnhill
Microsoft MVP (Word)
Words into Type
Fairhope, Alabama USA

Email cannot be acknowledged; please post all follow-ups to the newsgroup so
all may benefit.
 
Joined
Nov 6, 2012
Messages
1
Reaction score
0
For a simple way to keep hyperlinks in your TOC but remove the ...s and page numbers do this for Word 2010:

1) Select and copy the chapter name
2) Select just the ... and the page number (you will have to hold the shift key and use the right arrow, do not use shift+end)
3) From the Insert tab on the ribbon, select quick parts>>field codes
4) Under field names, select TC
5) Under 'field properties' paste the chapter name
6) Under 'field options' check the 'suppress page number' box
7) Click on the 'field codes' box (lower left corner)
8) Click on the 'options' box
9) Under 'Switches' select '/n'
10) Click ok, then ok again.

Now you have a TOC with hyperlinks and no page numbers which will be great for online material.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top