![]() |
|
#1
|
|||
|
|||
![]()
Hi guys,
I have many word files with 100 or more pictures inserted inside each of them. Right now, all of the pictures are In Line with Text layout, and I need to change them all to Square option. Can someone please help me and write down a VBA code that will change all the pictures in a word file please? Thanks alot, Yonatan. |
#2
|
||||
|
||||
![]()
Try:
Code:
Sub Demo() Application.ScreenUpdating = False With ActiveDocument While .InlineShapes.Count > 0 .InlineShapes(1).ConvertToShape Wend End With Application.ScreenUpdating = True End Sub
__________________
Cheers, Paul Edstein [Fmr MS MVP - Word] |
#3
|
||||
|
||||
![]()
Cross-posted at: http://www.vbaexpress.com/forum/show...text-to-Square
For cross-posting etiquette, please read: http://www.excelguru.ca/content.php?184
__________________
Cheers, Paul Edstein [Fmr MS MVP - Word] |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
![]() |
marconexcel | Drawing and Graphics | 2 | 02-02-2018 05:01 PM |
![]() |
pstidsen | Word | 4 | 02-08-2016 03:30 PM |
![]() |
ShankedS | Word Tables | 2 | 11-16-2015 04:27 PM |
Powerpoint automatically changing picture size when adding a picture (2010) | One_Life | PowerPoint | 7 | 01-20-2012 06:57 AM |
![]() |
Seafarer | Word | 3 | 12-28-2011 05:35 PM |