View Single Post
  #3   Report Post  
Posted to microsoft.public.word.docmanagement
Stefan Blom[_3_] Stefan Blom[_3_] is offline
external usenet poster
 
Posts: 6,897
Default [mac] word 2008: Header only after table of contents and alike

Note that the "2" in STYLEREF 2 refers to the built-in Heading 2 (you can use
only the number and the field will work in any language version of Word).

--
Stefan Blom
Microsoft Word MVP
(Message posted via news.eternal-september.org)



"Graham Mayor" wrote in message
...
Is 2 a style name?
SECTION is a field so you need
{ IF { SECTION} 1 { STYLEREF 2 }}


--

Graham Mayor - Word MVP

My web site www.gmayor.com
Word MVP web site http://word.mvps.org



"cassiopeia" wrote in message
...
Hi, I'm writing my bachelor thesis, and I'd like to insert a header
with sectionname after all the introduction stuff like frontpage,
table of contents, table of figures...

I have a section brake right before my real text starts, and have
tried this:
{ If SECTION 1 "{ STYLEREF 2 }" "" as field code, but it gets just
ignored. However, a sole { STYLEREF 2 } works just fine.

Any idea?