Microsoft Office Forums

Go Back   Microsoft Office Forums > >

Reply
 
Thread Tools Display Modes
  #1  
Old 09-20-2019, 09:57 AM
techwriter3k techwriter3k is offline Can I create a page number from a non-Heading style? Windows 10 Can I create a page number from a non-Heading style? Office 2013
Novice
Can I create a page number from a non-Heading style?
 
Join Date: Sep 2019
Location: California
Posts: 7
techwriter3k is on a distinguished road
Default Can I create a page number from a non-Heading style?

Desperately seeking solution: In Word 2013, I need to fill the first field in my page number (i.e., the chapter number) from a style that is not a Heading 1 thru Heading 9 style. That is, the first page needs to be numbered "A-1," but the "A" must come from a style I created called "AppHdg0" because Headings 1-9 are already in use in the document for other things (it's a very long, complex engineering document with 12 appendixes). Is it possible to do this? I don't see an option for creating the chapter number for the page number from anything other than Headings 1-9. Thank you!
Reply With Quote
  #2  
Old 09-20-2019, 04:16 PM
Charles Kenyon Charles Kenyon is online now Can I create a page number from a non-Heading style? Windows 10 Can I create a page number from a non-Heading style? Office 2016
Moderator
 
Join Date: Mar 2012
Location: Sun Prairie, Wisconsin
Posts: 9,125
Charles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant future
Default

The ordinary Chapter numbering for page numbers relies on the built-in heading styles. Those styles are special: Why use Microsoft Word’s built-in heading styles? by Shauna Kelly
  1. You may be able to create styles that will work by basing them on the built-in heading styles. I have not tried this.
  2. Numbering should be done using styles attached to numbering following the instructions given in How to create numbered headings or outline numbering in Ribbon Versions of Word by Shauna Kelly
  3. You could also incorporate a StyleRef Field in your header/footer as a part of your page number. See Useful StyleRef tricks by Suzanne Barnhill, MVP.
Reply With Quote
  #3  
Old 09-20-2019, 04:41 PM
techwriter3k techwriter3k is offline Can I create a page number from a non-Heading style? Windows 10 Can I create a page number from a non-Heading style? Office 2013
Novice
Can I create a page number from a non-Heading style?
 
Join Date: Sep 2019
Location: California
Posts: 7
techwriter3k is on a distinguished road
Default

Thanks so much. I will try that.
Headings 1-9 were modified by my company’s template team years ago so I have no control over that, unfortunately.
Reply With Quote
  #4  
Old 09-22-2019, 05:57 AM
Charles Kenyon Charles Kenyon is online now Can I create a page number from a non-Heading style? Windows 10 Can I create a page number from a non-Heading style? Office 2016
Moderator
 
Join Date: Mar 2012
Location: Sun Prairie, Wisconsin
Posts: 9,125
Charles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant future
Default

Cross posted at Creating a page number from a non-Heading style

For cross-posting etiquette, please read: Excelguru Help Site - A message to forum cross posters

Last edited by Charles Kenyon; 09-24-2019 at 12:56 PM.
Reply With Quote
  #5  
Old 09-24-2019, 05:06 AM
Stefan Blom's Avatar
Stefan Blom Stefan Blom is offline Can I create a page number from a non-Heading style? Windows 10 Can I create a page number from a non-Heading style? Office 2019
Moderator
 
Join Date: Aug 2011
Posts: 3,902
Stefan Blom is a name known to allStefan Blom is a name known to allStefan Blom is a name known to allStefan Blom is a name known to allStefan Blom is a name known to allStefan Blom is a name known to all
Default

You can set this up with SEQ fields; see TOC Tips and Tricks.
__________________
Stefan Blom
Microsoft Word MVP

Microsoft 365 apps for business
Windows 11 Professional
Reply With Quote
  #6  
Old 09-24-2019, 03:26 PM
Guessed's Avatar
Guessed Guessed is offline Can I create a page number from a non-Heading style? Windows 10 Can I create a page number from a non-Heading style? Office 2016
Expert
 
Join Date: Mar 2010
Location: Canberra/Melbourne Australia
Posts: 3,969
Guessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant future
Default

In a word - No. You do need to use one of the Heading series for your Appendix number.

The workaround of using Seq fields or a second outline series for Appendix heads is a poor substitute because the TOC won't pick up the (styleref field augmented) page numbers correctly and the figure/table captions will require additional work too.
__________________
Andrew Lockton
Chrysalis Design, Melbourne Australia
Reply With Quote
  #7  
Old 09-24-2019, 09:07 PM
Charles Kenyon Charles Kenyon is online now Can I create a page number from a non-Heading style? Windows 10 Can I create a page number from a non-Heading style? Office 2016
Moderator
 
Join Date: Mar 2012
Location: Sun Prairie, Wisconsin
Posts: 9,125
Charles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant future
Default

Quote:
Originally Posted by Guessed View Post
In a word - No. You do need to use one of the Heading series for your Appendix number.

The workaround of using Seq fields or a second outline series for Appendix heads is a poor substitute because the TOC won't pick up the (styleref field augmented) page numbers correctly and the figure/table captions will require additional work too.
Hi Andrew,

So your response is that neither the method suggested by Stefan nor the one I suggested is a perfect solution?

Do you know whether styles based on the heading styles will work? I do not know. I know that they work as well as the heading styles for some other purposes. I've been very busy lately or I would have tested this.
Reply With Quote
  #8  
Old 09-24-2019, 10:35 PM
Guessed's Avatar
Guessed Guessed is offline Can I create a page number from a non-Heading style? Windows 10 Can I create a page number from a non-Heading style? Office 2016
Expert
 
Join Date: Mar 2010
Location: Canberra/Melbourne Australia
Posts: 3,969
Guessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant future
Default

Charles, the styleref and seq fields are not ideal solutions, just workarounds needing advanced knowledge to re-create something a lot easier with heading styles.

The benefits of using the built-in heading series numbering for the Appendixes are:
- page number prefix appears as part of the TOC page numbers
- captions can be done with the GUI and not require fiddling field codes and restart switches
- cross-references can be inserted by finding with the heading and/or numbered paragraph categories

To be fair, a document that requires more than 8 heading levels (+ one for Appendix) is a rare beast and the document structure should be reconsidered but they do exist. In engineering firm documentation it is not uncommon for authors to want to add appendixes with around 5 numbered heading series which ideally would be a continuation of the heading series.

The built-in limit of 9 outline levels has been a thorn in the side ever since I started using Word in the 1980s. I've learned to live with the workarounds but do vary my approach from time to time as requirements change. My current approach is to use a template with 6 numbered heading levels + 2 numbered Annex levels + 1 numbered Appendix level to use my limit of 9. If authors require additional heading levels beyond any of these, they are instructed to use unnumbered styles and can choose to add Seq fields prefixes if they wish.
__________________
Andrew Lockton
Chrysalis Design, Melbourne Australia
Reply With Quote
  #9  
Old 09-25-2019, 06:36 AM
Charles Kenyon Charles Kenyon is online now Can I create a page number from a non-Heading style? Windows 10 Can I create a page number from a non-Heading style? Office 2016
Moderator
 
Join Date: Mar 2012
Location: Sun Prairie, Wisconsin
Posts: 9,125
Charles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant future
Default

The original post said that all the headings were in use for other purposes. Thus, the need for klutzy workarounds.
Reply With Quote
  #10  
Old 09-25-2019, 06:58 AM
Stefan Blom's Avatar
Stefan Blom Stefan Blom is offline Can I create a page number from a non-Heading style? Windows 10 Can I create a page number from a non-Heading style? Office 2019
Moderator
 
Join Date: Aug 2011
Posts: 3,902
Stefan Blom is a name known to allStefan Blom is a name known to allStefan Blom is a name known to allStefan Blom is a name known to allStefan Blom is a name known to allStefan Blom is a name known to all
Default

Quote:
Originally Posted by Guessed View Post
Charles, the styleref and seq fields are not ideal solutions, just workarounds needing advanced knowledge to re-create something a lot easier with heading styles.
Setting up chapter/page numbering by using the built-in headings will always be easier.

However, note that there is a specific switch that you can use with the SEQ field to include page numbers in the TOC, so this really does work. For example, you can use that approach to add custom numbers or letters; see TOC Tips and Tricks.
__________________
Stefan Blom
Microsoft Word MVP

Microsoft 365 apps for business
Windows 11 Professional
Reply With Quote
Reply

Tags
chapters, page number format, page numbers by chapter



Similar Threads
Thread Thread Starter Forum Replies Last Post
Macro to create a title in the Header when a certain text style is used (such as Heading 1) Lonesy Word VBA 1 06-03-2015 03:57 AM
Page number with chapter number but not from Heading 1 alpruett Word 5 06-04-2014 02:00 PM
Table jumping to next page when changing heading style. Tom Wolowiec Word 0 07-16-2013 12:31 PM
Can I create a page number from a non-Heading style? Create and save custom heading style ubns Word 3 08-01-2012 09:42 PM
Page number picking up heading numbering?! Ulodesk Word 0 09-24-2009 01:56 PM

Other Forums: Access Forums

All times are GMT -7. The time now is 09:47 AM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.
Search Engine Optimisation provided by DragonByte SEO (Lite) - vBulletin Mods & Addons Copyright © 2024 DragonByte Technologies Ltd.
MSOfficeForums.com is not affiliated with Microsoft