How to Reference the Latest Heading 1 Number in Word Captions
Question details
Reference a Heading 1 number in Word captions while accommodating different numbering schemes for chapters and appendices.
- Product
- Microsoft Word
- Device & OS
- not provided
- Scenario
- A document uses numbered chapter headings and appendix headings with a different numbering scheme.
- Observed behavior
- A caption field referencing Heading 1 does not automatically use a separate custom appendix heading style.
Check which styles are applied to your chapter and appendix headings on the Home tab. Confirm that the headings have numbering applied before adding a numbered heading reference to a caption.
Reference Heading 1 numbering in a Word caption
Use this method when chapter headings use the built-in Heading 1 style and a consistent numbered heading structure.
The field { STYLEREF 1 \s } returns the number of a Heading 1 paragraph, not the heading text. Word searches for the style on the current page before searching earlier pages, so check the result if a caption appears before a heading on the same page.
Select a chapter heading and check Home > Styles. Apply Heading 1 if appropriate, and use Home > Multilevel List to configure its numbering.
Select the figure or table, then choose References > Insert Caption. Choose a label and place the caption where you need it.
Click in the caption where the chapter number should appear. Press Ctrl+F9 to insert field braces, type STYLEREF 1 \s between them, and press F9 to update the field. Add a separator such as a hyphen before the caption's sequence number.
Review captions throughout the document, especially near page breaks. To refresh fields after editing, select the document with Ctrl+A and press F9.
Use a manual appendix prefix with a restarted caption sequence
Use this workaround when appendix headings use a custom style or a different numbering scheme that the Heading 1 caption reference does not cover.
Edit Word Documents and Captions with WPS Writer
WPS Office is a free, lightweight alternative with a familiar interface and support for Word documents, making it easy to move everyday editing work to WPS Writer. It does not fix Word-specific caption field behavior, so check complex fields when moving a document between apps.

Frequently Asked Questions
How do I include a chapter number automatically in a Word caption?
Select the object and choose References > Insert Caption > Numbering. Select Include chapter number, choose the built-in heading style used for chapters, and choose a separator.
Can STYLEREF refer to a custom appendix heading style?
Yes. STYLEREF can refer to a custom style by name, but a field targeting Heading 1 will not automatically switch to that style. Word's built-in caption chapter-numbering option uses built-in heading styles.
Why does my caption show an unexpected heading number?
Check that the intended heading uses Heading 1 and has numbering. STYLEREF searches the current page before earlier pages, so a heading later on the same page can affect the result. Select the field and press F9 to refresh it.
How can I restart figure numbering for an appendix?
Insert a field with Ctrl+F9, type SEQ Figure \r 1 inside the braces, and press F9. Type the appendix prefix separately and review later Figure fields, because the restart affects the shared sequence.




