Thread: Page Numbering
View Single Post
 
Old 06-14-2019, 06:22 PM
NIDALAP NIDALAP is offline Windows 7 64bit Office 2007
Novice
 
Join Date: Jun 2017
Posts: 15
NIDALAP is on a distinguished road
Default

My bad, looks like I've got two 'Heading 1' at the start of each chapter, one is called CHAPTER 1, but it's not typed, it's an automatically generated number. i.e. it's a list with CHAPTER added to the start and formatted with 'Heading 1'. The second 'Heading 1' is the name of the chapter e.g. GENERAL. So at the moment, using your code for chapter spits out the following chapter numbering scheme, GENERAL.1.1. I couldn't figure out why I was getting this since I didn't have 'Search from bottom of page' selected. Hope that makes sense. So if I'm correct, I need to use ListNum instead of StyleRef for this one, but I don't know what values to put in ["Name"] and [Switches]. Where did you find this information by the way? I found this site >> http://www.addbalance.com/usersguide/fields.htm#Switch, but it's not comprehensive enough. Not much info about this stuff out there it seems.

EDIT: I found the reason for the problem of StyleRef not showing anything:

This indicates that the StyleRef field is referring you to blank text. In the case of a paragraph style, an empty paragraph formatted in the style. In the case of a character style, a space formatted, by itself, in the style.

Last edited by NIDALAP; 06-15-2019 at 01:17 AM.
Reply With Quote