How to Fix Appendix Caption Numbering Showing 0-1 Instead of A-1 in Word
Question details
The user is trying to add a figure caption under an appendix heading, but the caption number incorrectly displays a zero (e.g., 'Figure 0-1') instead of the expected appendix letter (e.g., 'Figure A-1').

- Product
- Microsoft Word
- Device & OS
- not provided
- Scenario
- Inserting automatic figure or table captions into a document section formatted as an appendix.
- Observed behavior
- Microsoft Word inserts the caption as 'Appendix Figure 0-1', failing to pull the correct alphabetical letter from the 'APPENDIX A' heading above it.
Ensure your appendix titles are formatted using Word's built-in heading styles (e.g., Heading 6 or Heading 7) and that they are properly linked to a multilevel numbering list.
Remove Blank Paragraphs Formatted with Heading Styles
Identify and delete invisible paragraphs that have the appendix heading style applied, as they cause the STYLEREF field to reference an empty, unnumbered line.
A zero in a caption indicates that the STYLEREF field is looking at a heading whose number is suppressed or missing. This most frequently occurs when there is a blank line above the figure that accidentally has the heading style applied to it.
Go to the Home tab and click the 'Show/Hide ¶' button in the Paragraph group to display hidden formatting marks.
Look at the space immediately preceding your incorrectly numbered caption. Search for a standalone paragraph mark (¶) that has your Appendix heading style applied but contains no text.
Select the blank paragraph mark and either change its style to 'Normal' from the Styles gallery or delete the paragraph entirely.
Right-click on the incorrect caption ('Figure 0-1') and select 'Update Field'. The caption should now correctly pull the letter from the actual Appendix heading, changing to 'Figure A-1'.

Verify Heading Numbering Settings
Check that your appendix heading is properly associated with a multilevel list format that outputs alphabetical characters.
Easily Manage Appendix Captions in WPS Writer
WPS Writer provides an intuitive interface for managing heading styles and inserting automated figure captions, ensuring your appendix numbering is always accurate without dealing with complex STYLEREF errors.
- 1. Apply Heading Styles: Open your document in WPS Writer, select your appendix title, and apply a standard Heading style from the Home tab.
- 2. Set Numbering Format: Click the Numbering icon on the Home tab to ensure your heading is set to alphabetical numbering (A, B, C).
- 3. Insert Caption: Go to the References tab, click 'Insert Caption', select 'Figure', and ensure 'Include chapter number' is checked.
- 4. Update Fields: If you make changes to the heading, simply right-click the caption and select 'Update Field' to reflect the correct letter.

Frequently Asked Questions
What does the STYLEREF field do in Word captions?
The STYLEREF field is a hidden code that automatically references text or numbers from a specific heading style in your document. In captions, it's used to dynamically pull the chapter number or appendix letter (like the 'A' in Figure A-1).
Why do my captions show 0 instead of the chapter number?
This typically happens if the caption is looking for a heading style that doesn't have numbering applied, or if there is a blank line formatted as a heading right above the caption, which resets the numbering reference to zero.
How do I update all captions in my document at once?
Press Ctrl+A to select the entire document, then press F9 (or right-click and choose Update Field). This forces the word processor to refresh all STYLEREF fields and captions to reflect the latest heading numbers and edits.




