How to Cross-Reference Only the Number in a Word Caption
Question details
The user wants to insert a cross-reference that displays only the exact numeric portion of a caption (such as '1.2.1') while excluding the descriptive label like 'Table' or 'Figure'.

- Product
- Word
- Device & OS
- not provided
- Scenario
- Referencing tables or figures in a document where the caption contains both a section number and a sequence number, but the in-text citation should only read the number itself.
- Observed behavior
- Standard cross-references insert the entire caption label, and adding standard numeric switches fails to extract the combined section and sequence numbers correctly.
Make sure to turn on the display of field codes in your document so you can accurately select the underlying data of your captions.
Use a Bookmark to Reference the Caption Number
By manually bookmarking the exact STYLEREF and SEQ fields within the caption, you can cross-reference the bookmark text to display only the numbers.
Word generates caption numbers using a combination of STYLEREF fields (for the section number) and SEQ fields (for the sequential number). Because these are distinct fields, typical numeric switches do not work accurately for extracting both. Creating a specific bookmark gives you precise control over what the cross-reference returns.
Press Alt+F9 on your keyboard to toggle the display of field codes in your document. This allows you to see the STYLEREF and SEQ formatting inside your caption.
Carefully highlight the complete number in your caption, ensuring you select both the STYLEREF field and the SEQ field. Do not highlight the caption label (e.g., 'Table').
Navigate to the Insert tab and click on 'Bookmark'. Type a descriptive name for your bookmark without spaces (for example, 'Table_1_2_1') and click 'Add'.
Place your cursor where you want the cross-reference to appear in the text. Go to the Insert tab, click 'Cross-reference', set the Reference type to 'Bookmark', and choose your newly created bookmark.
Ensure 'Insert reference to' is set to 'Bookmark text', then click 'Insert'. Finally, press Alt+F9 again to hide the field codes.
Create Precise Cross-References Easily in WPS Writer
WPS Writer provides comprehensive referencing tools that make handling complex captions, bookmarks, and cross-references a breeze. It offers seamless integration with field codes and is fully compatible with Microsoft Word document formats.
- 1. Open the document in WPS Writer: Launch WPS Office and open your text document.
- 2. Highlight the caption number: Select the specific numerical portion of the caption you wish to reference.
- 3. Add a bookmark: Navigate to the Insert tab, click 'Bookmark', and assign a unique name to the selected number.
- 4. Insert cross-reference: Go to the Reference tab, click 'Cross-reference', select the Bookmark category, choose your bookmark, and insert it into your text.

Frequently Asked Questions
Why doesn't the \# 0 numeric switch work for section numbers in captions?
When a caption includes both a section number and a sequence number, it relies on two separate background fields (STYLEREF and SEQ). Standard numeric switches like \# 0 are designed for single numeric fields and fail to properly parse the combined structure.
Will the bookmarked cross-reference update if I insert a new table before it?
Yes. As long as you highlighted the actual STYLEREF and SEQ field codes when creating the bookmark (visible via Alt+F9), the values are dynamic. Pressing F9 to update your document's fields will refresh the cross-referenced bookmark as well.
How do I hide field codes after creating the bookmark and cross-reference?
You can quickly toggle the visibility of field codes in your document at any time by pressing Alt+F9. This will revert the complex brackets back into normal readable text and numbers.




