Link to home
Start Free TrialLog in
Avatar of Gary Friedman
Gary FriedmanFlag for United States of America

asked on

Section Headers in Word 2013 Field codes

Am trying to including the section number in the heading of a Word 2013 document.

Currently I have

{ STYLEREF "Heading 3" \r \ * MERGEFORMAT }

in the field code, which works well as long as the page contains a heading 3.  Some pages only have a Heading 1 or Heading 2; however, and then the header doesn't update until another page with a Heading 3 appears.

I tried putting in { SECTION } but all I get is a single-digit number, not something like "5.2.1".

Please point me in the right direction!  Thanks.
Avatar of Paul Sauvé
Paul Sauvé
Flag of Canada image

have you tried to add the same field codes

{ STYLEREF "Heading 1" \r \ * MERGEFORMAT }

{ STYLEREF "Heading 2" \r \ * MERGEFORMAT }

???
Avatar of Gary Friedman

ASKER

Then I get either 2 or 3 entries when I expect one.  For example:

Chapter 1 1.1 1.1.1

I just want it to show the current section number, regardless of how many levels it is.
This question needs an answer!
Become an EE member today
7 DAY FREE TRIAL
Members can start a 7-Day Free trial then enjoy unlimited access to the platform.
View membership options
or
Learn why we charge membership fees
We get it - no one likes a content blocker. Take one extra minute and find out why we block content.