TOC

  • Thread starter Thread starter Paula
  • Start date Start date
P

Paula

Hi
I have set my word output to have section numbering i.e. 1-1, 1-2, 1-3 etc.

The TOC2 have the page numbering right aligned which is great.

But I want the TOC1 title to show up, but NOT the page number. Does anyone
know how I turn just the TOC1 page numbering off?
many thanks, Paula
 
Press Alt+F9 to show field codes. You'll see something like this instead of
your TOC:

{ TOC \o "1-3" \h \z \u }

Add \n "1-1" to the end of the field code, press F9 to update, and then
press Alt+F9 again to hide field codes.
 
thank you Stefan, worked beautifully.

Now my next question is I want to add this in as an automatic AfterPublish
macro. When I publish my content into a .dot template I want it to go and do
this automatically.

I did manage to record a macro that does this, but it did not work I think
because it does not know where to put the field code.

thanks, Paula
 
You may want to ask in a programming newsgroup such as
microsoft.public.word.vba.general for assistance with that. However, I'm not
sure why you are trying to add to a *template* file? Note that you can
simply add a TOC to a template; the TOC will then be present in all
documents later created from that template.
 
Back
Top