Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.word.docmanagement
|
|||
|
|||
Select all images and change text wrapping
Hello,
In either Word 2003, 2007, I would like to create a macro which finds every image and assign it an in-line with text wrapping. I can create the macro which finds all of the images but I am unable to change the wrapping since the option is greyed out... Any help is greatly appreciated. Thanks. Luke |
#2
Posted to microsoft.public.word.docmanagement
|
|||
|
|||
Select all images and change text wrapping
An image inserted in line behaves exactly like a large font character.
Wrapping does not apply. -- Graham Mayor - Word MVP My web site www.gmayor.com Word MVP web site http://word.mvps.org lukepw wrote: Hello, In either Word 2003, 2007, I would like to create a macro which finds every image and assign it an in-line with text wrapping. I can create the macro which finds all of the images but I am unable to change the wrapping since the option is greyed out... Any help is greatly appreciated. Thanks. Luke |
#3
Posted to microsoft.public.word.docmanagement
|
|||
|
|||
Select all images and change text wrapping
thanks Graham:
My document contains images that are in-line and others which are not. I would like to be able to change all the images "not in-line" to "in-line". Is that possible? thanks, L. "Graham Mayor" wrote: An image inserted in line behaves exactly like a large font character. Wrapping does not apply. -- Graham Mayor - Word MVP My web site www.gmayor.com Word MVP web site http://word.mvps.org lukepw wrote: Hello, In either Word 2003, 2007, I would like to create a macro which finds every image and assign it an in-line with text wrapping. I can create the macro which finds all of the images but I am unable to change the wrapping since the option is greyed out... Any help is greatly appreciated. Thanks. Luke |
#4
Posted to microsoft.public.word.docmanagement
|
|||
|
|||
Select all images and change text wrapping
You can use this macro (see Graham's page at
http://www.gmayor.com/installing_macro.htm if needed): Sub InlineAllPics() Dim oShp As Shape Dim i As Integer With ActiveDocument.Shapes For i = .Count To 1 Step -1 Set oShp = .Item(i) oShp.ConvertToInlineShape Next End With End Sub There's no guarantee that the in-line pictures will appear in the same location or order as the floating ones; that depends on where their anchors were. -- Regards, Jay Freedman Microsoft Word MVP FAQ: http://word.mvps.org Email cannot be acknowledged; please post all follow-ups to the newsgroup so all may benefit. On Mon, 22 Jun 2009 08:40:02 -0700, lukepw wrote: thanks Graham: My document contains images that are in-line and others which are not. I would like to be able to change all the images "not in-line" to "in-line". Is that possible? thanks, L. "Graham Mayor" wrote: An image inserted in line behaves exactly like a large font character. Wrapping does not apply. -- Graham Mayor - Word MVP My web site www.gmayor.com Word MVP web site http://word.mvps.org lukepw wrote: Hello, In either Word 2003, 2007, I would like to create a macro which finds every image and assign it an in-line with text wrapping. I can create the macro which finds all of the images but I am unable to change the wrapping since the option is greyed out... Any help is greatly appreciated. Thanks. Luke |
#5
Posted to microsoft.public.word.docmanagement
|
|||
|
|||
Select all images and change text wrapping
Thanks for your help. I will try that.
"Jay Freedman" wrote: You can use this macro (see Graham's page at http://www.gmayor.com/installing_macro.htm if needed): Sub InlineAllPics() Dim oShp As Shape Dim i As Integer With ActiveDocument.Shapes For i = .Count To 1 Step -1 Set oShp = .Item(i) oShp.ConvertToInlineShape Next End With End Sub There's no guarantee that the in-line pictures will appear in the same location or order as the floating ones; that depends on where their anchors were. -- Regards, Jay Freedman Microsoft Word MVP FAQ: http://word.mvps.org Email cannot be acknowledged; please post all follow-ups to the newsgroup so all may benefit. On Mon, 22 Jun 2009 08:40:02 -0700, lukepw wrote: thanks Graham: My document contains images that are in-line and others which are not. I would like to be able to change all the images "not in-line" to "in-line". Is that possible? thanks, L. "Graham Mayor" wrote: An image inserted in line behaves exactly like a large font character. Wrapping does not apply. -- Graham Mayor - Word MVP My web site www.gmayor.com Word MVP web site http://word.mvps.org lukepw wrote: Hello, In either Word 2003, 2007, I would like to create a macro which finds every image and assign it an in-line with text wrapping. I can create the macro which finds all of the images but I am unable to change the wrapping since the option is greyed out... Any help is greatly appreciated. Thanks. Luke |
Reply |
Thread Tools | |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Change Default for Text Wrapping and Cell Alignment in Word 2007 | Microsoft Word Help | |||
Change Text Wrapping defaults | Microsoft Word Help | |||
Wrapping around images in Headers | Page Layout | |||
Change color of precision selector from white in text box select? | Microsoft Word Help | |||
I cannot change text when I select it | Microsoft Word Help |