How to Keep Images and Captions Together in Word While Updating Numbering
Question details
The user needs to keep an image and its caption tied together on the same page without breaking the automatic caption-number updating feature in Word.

- Product
- Word
- Device & OS
- not provided
- Scenario
- Formatting a professional document with multiple images and captions that require automatic numbering to stay accurate when figures are added or removed.
- Observed behavior
- Grouping images and text-box captions together often removes the caption from the main document flow, preventing automatic numbering from updating properly when pressing F9.
Ensure your document's images are inserted inline with text and that you have already generated standard captions for them before attempting to adjust their layout structure.
Use a Single-Cell Borderless Table
The most reliable way to keep an image and caption together while preserving automatic numbering is to place them inside a hidden, single-cell table.
By placing both the image and the caption in a table, Word treats them as part of the normal document text flow. This prevents the figures from separating across pages while keeping the caption field active for updates.
Navigate to the 'Insert' tab, click on 'Table', and create a 1x1 (single-cell) table in your document.
Paste your image into the table cell. Go to the 'References' tab, click 'Insert Caption', and add the caption text directly below the image inside the same cell.
Select the entire table. Go to the 'Table Design' or 'Table Properties' menu and set the borders to 'No Border' so the table outline becomes invisible.
Right-click the table, select 'Table Properties', and set the text wrapping to 'Around' to allow the surrounding body text to flow neatly around your image and caption.
Whenever you add or delete other figures, simply press 'Ctrl + A' to select all text, then press 'F9' to automatically update all caption numbers in the document.

Automate Conversions Using Macros
If you are working with an existing document that heavily uses text-box groupings, a macro can help convert them to table layouts in bulk.
Manage Images and Captions Easily with WPS Writer
WPS Writer offers seamless handling of images, tables, and dynamic captions, making it easy to create professional documents and keep elements tied together without numbering errors.
- 1. Insert a Table: Open your document in WPS Writer, go to the 'Insert' tab, and add a single-cell table.
- 2. Add Content: Insert your picture into the cell, right-click the picture, and choose 'Insert Caption' to place text below it.
- 3. Hide Borders: Select the table, navigate to 'Table Tools', and remove the table borders for a clean look.
- 4. Update Fields: Select your entire document and press F9 anytime to dynamically update all caption sequence numbers.

Frequently Asked Questions
Why do my caption numbers stop updating when I group them with images?
Grouping an image with a text box that contains a caption removes the text box from the standard document text layer. This hides the field code from Word's automatic numbering sequence, preventing the F9 update command from recognizing it.
Can I use text boxes instead of tables to keep images and captions together?
While text boxes can visually keep elements together, they frequently cause issues with generating a Table of Figures and maintaining automatic numbering. Tables keep the content in the main text flow, making them much more reliable.
How do I update all caption numbers in my document at once?
To refresh all dynamic fields, including caption numbers and table of contents, press 'Ctrl + A' to select the entire document, and then press the 'F9' key on your keyboard.
Will the borderless table show up when I print the document?
No. As long as you highlight the table and set the borders to 'No Border' in the Table Design properties, the table gridlines will remain completely invisible both on the screen and in the final printed document.




