How to automatically add captions to images in Word document?
If your Word document contains a mix of text and images, adding captions to the images makes it easier to navigate and reference them. While you can manually insert captions using Word's bookmark or caption feature, doing so for many images can be tedious. This tutorial offers two efficient methods to automatically add captions to all images in a Word documentโusing VBA or the Kutools for Word add-in.
Automatically add captions to images at once with VBA
Automatically add captions to images at once with Kutools for Word
Automatically add captions to images at once with VBA
The VBA method allows you to quickly add captions to all inline images at once in your Word document. Follow these steps:
- Open the Word document that contains the images. Press Alt + F11 to open the Microsoft Visual Basic for Applications window.
- In the VBA window, click Insert > Module, then copy and paste the following code into the Module window.
Sub CaptionPictures() 'Updated by ExtendOffice 20181123 Dim xPic As InlineShape For Each xPic In ActiveDocument.InlineShapes xPic.Select Selection.InsertCaption "Figure", "", "", wdCaptionPositionBelow, 0 Next End Sub
- Press F5 to run the code.
Captions will now be added to all images in the document.
Office Tab: Brings tabbed interfaces to Word, Excel, PowerPoint...![]() |
Enhance your workflow now. Learn More about Office Tab Free Download |
Automatically add captions to images at once with Kutools for Word
The Multiple Captions utility of Kutools for Word offers a user-friendly way to add captions to all images with just a few clicks. Compared to using VBA or manual steps, this tool simplifies the process and also supports adding captions to tables and equations.
- Open your Word document and click Kutools Plus > Multiple Captions.
- In the Batch Insert Captions dialog box, check the Figure option and click OK.
Note: With this utility, you can also add captions to tables, equations, charts and SmartArt graphics at the same time.
Best Office Productivity Tools
Kutools for Word - Elevate Your Word Experience with Over 100 Remarkable Features!
๐ค Kutools AI Features: AI Assistant / Real-Time Assistant / Super Polish (Preserve Format) / Super Translate (Preserve Format) / AI Redaction / AI Proofread...
๐ Document Mastery: Split Pages / Merge Documents / Export Selection in Various Formats (PDF/TXT/DOC/HTML...) / Batch Convert to PDF...
โ Contents Editing: Batch Find and Replace across Multiple Files / Resize All Pictures / Transpose Table Rows and Columns / Convert Table to Text...
๐งน Effortless Clean: Sweap away Extra Spaces / Section Breaks / Text Boxes / Hyperlinks / For more removing tools, head to the Remove group...
โ Creative Inserts: Insert Thousand Separators / Check Boxes / Radio Buttons / QR Code / Barcode / Multiple Pictures / Discover more in the Insert group...
๐ Precision Selections: Pinpoint Specific Pages / Tables / Shapes / Heading Paragraphs / Enhance navigation with more Select features...
โญ Star Enhancements: Navigate to Any Location / Auto-Insert Repetitive Text / Toggle Between Document Windows / 11 Conversion Tools...
๐ Supports 40+ Languages: Use Kutools in your preferred language โ supports English, Spanish, German, French, Chinese, and 40+ others!

Best Office Productivity Tools
Kutools for Word - 100+ Tools for Word
- ๐ค Kutools AI Features: AI Assistant / Real-Time Assistant / Super Polish / Super Translate / AI Redaction / AI Proofread
- ๐ Document Mastery: Split Pages / Merge Documents / Batch Convert to PDF
- โ Contents Editing: Batch Find and Replace / Resize All Pictures
- ๐งน Effortless Clean: Remove Extra Spaces / Remove Section Breaks
- โ Creative Inserts: Insert Thousand Separators / Insert Check Boxes / Create QR Codes
- ๐ Supports 40+ Languages: Kutools speaks your language โ 40+ languages supported!