Microsoft Office Forums

Go Back   Microsoft Office Forums > >

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 05-02-2016, 10:22 PM
Jazz43 Jazz43 is offline How to add captions to every picture Windows 7 64bit How to add captions to every picture Office 2010 64bit
Advanced Beginner
How to add captions to every picture
 
Join Date: Oct 2009
Posts: 51
Jazz43 is on a distinguished road
Post How to add captions to every picture

Hi everyone,
I'm looking for a way to add caption to mutiple pictures at once. Currently, I'm using this macro:

Quote:
Sub CaptionPictures()
Dim objPic As InlineShape

For Each objPic In ActiveDocument.InlineShapes
objPic.Select


Selection.InsertCaption Label:="Figure", TitleAutoText:="", Title:="", _
Position:=wdCaptionPositionBelow, ExcludeLabel:=0
Next objPic
End Sub
However, it has a problem of adding captions to every pictures, including the one with captions already and messes up my labelling. Is there anyone with experience with this issues?
Reply With Quote
 

Tags
caption, macro



Similar Threads
Thread Thread Starter Forum Replies Last Post
How to add captions to every picture VBA to insert captions without appending to existing captions Marrick13 Word VBA 17 03-21-2023 07:51 PM
How to add captions to every picture Captions: Changing captions in Appendix update all captions carnestw Word 3 10-27-2015 12:34 PM
How to add captions to every picture Automatic change of Picture Captions... pawleex Word 1 08-04-2013 05:04 PM
Move Picture by picture name, rename picture by picture name CatMan PowerPoint 2 04-18-2012 12:21 PM
Powerpoint automatically changing picture size when adding a picture (2010) One_Life PowerPoint 7 01-20-2012 06:57 AM

Other Forums: Access Forums

All times are GMT -7. The time now is 01:37 PM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, vBulletin Solutions Inc.
Search Engine Optimisation provided by DragonByte SEO (Lite) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
MSOfficeForums.com is not affiliated with Microsoft