Formatting Issues

How to Reference the Latest Heading 1 Number in Word Captions

Huma Ashraf ChHuma Ashraf Ch Nov 14, 2026 870 views

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.
Before you start

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.

Solution 1Recommended

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.

1
Check the heading style

Select a chapter heading and check Home > Styles. Apply Heading 1 if appropriate, and use Home > Multilevel List to configure its numbering.

2
Insert a caption

Select the figure or table, then choose References > Insert Caption. Choose a label and place the caption where you need it.

3
Insert the heading field

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.

4
Check the results

Review captions throughout the document, especially near page breaks. To refresh fields after editing, select the document with Ctrl+A and press F9.

Built-in caption numbering: Alternatively, use References > Insert Caption > Numbering, select Include chapter number, and choose Heading 1 as the chapter start style. Word's built-in chapter numbering for captions uses built-in heading styles.
Free Microsoft Office alternative

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.

Edit documents containing headings and captions in WPS WriterCompatible with Microsoft Word DOC and DOCX formatsFamiliar word-processing interface for easier migrationFree and lightweight Office alternative
microsoft office alternative - wps office

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.