Reply
 
Thread Tools Display Modes
  #1   Report Post  
Octav
 
Posts: n/a
Default make all pictures "in line with text"

I have a large Word document with hundreds of pictures. They are all
floating objects at this time, but I would like to change that to "in
line with text." Is there a way to quickly do this? Selecting each
picture and changing it's layout is too time consuming. If I try to
record a macro, the in line with text layout style is grayed out and
cannot be selected. Same happens if I select multiple pictures and try
to apply formating to all. Any suggestions would be appreciated.
Thank you,

Octav

  #2   Report Post  
Jay Freedman
 
Posts: n/a
Default

On 29 Jan 2005 20:04:18 -0800, "Octav" wrote:

I have a large Word document with hundreds of pictures. They are all
floating objects at this time, but I would like to change that to "in
line with text." Is there a way to quickly do this? Selecting each
picture and changing it's layout is too time consuming. If I try to
record a macro, the in line with text layout style is grayed out and
cannot be selected. Same happens if I select multiple pictures and try
to apply formating to all. Any suggestions would be appreciated.
Thank you,

Octav


Hi Octav,

This is one of many situations in which you can write a macro that
works, but you can't get one from the recorder. The macro you need is
this:

Sub AllPixInline()
Dim oShp As Shape

For Each oShp In ActiveDocument.Shapes
oShp.ConvertToInlineShape
Next oShp
End Sub

--
Regards,
Jay Freedman
Microsoft Word MVP FAQ: http://word.mvps.org
  #3   Report Post  
Octav
 
Posts: n/a
Default

Very elegant solution to my problem. Thank you for your help!
-Octav

Reply
Thread Tools
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
How do you make text wrap in a paragraph? cat 345 Microsoft Word Help 1 January 12th 05 04:22 PM
Outline Renee Hendershott Page Layout 2 December 25th 04 02:49 PM
I select one line of text to range right and the rest of the docu. Debsy Page Layout 1 December 13th 04 11:00 PM
How to not select whole line of text when clicking to right lms Microsoft Word Help 5 November 26th 04 05:15 PM
How do I make Word2002 position cursor at end of line as Word2000 lms Microsoft Word Help 3 November 26th 04 05:15 PM


All times are GMT +1. The time now is 01:19 AM.

Copyright ©2000 - 2023, Jelsoft Enterprises Ltd.
Copyright 2004-2023 Microsoft Office Word Forum - WordBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Word"