Hi, all,
I'm automating the creation of a document with sections, e.g., 1.0, 1.1, 2.0, and so forth. My code inserts chapter-page numbers at the bottom of each page, e.g., 1-1. I am currently writing code to build appendixes into the document, and I want the appendix page numbers to start with the appendix letter, e.g., A-1. But it seems as though I cannot define multiple chapter number styles in one document. When I try to define new chapter numbers in a new section, I get a runtime error that a property setting conflicts with an existing property setting. Is there something I'm missing that WILL allow me to define different chapter number styles for different document sections?
Alternately, I would be willing to just "manually" insert "A-" before the page number on each page, instead of having it formatted as a chapter number. But, once I have inserted page numbers in the footer, I'm unsure how to use my code to insert additional text in the correct place relative to the page number. Any explanation for what VBA code I would use to enter the prefixing text at the correct position in the footer?
I'm open to other method suggestions as well if anyone has any...
Thanks!! This automated document would be the death of me if it weren't for all the wonderful assistance I've been getting here.
~ eed