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

  • Thread starter Thread starter Guest
  • Start date Start date
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
 
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
 
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.
 
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.
 
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.
 
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.
 
Back
Top