Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Word / Long Documents / January 2005

Tip: Looking for answers? Try searching our database.

make all pictures "in line with text"

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Octav - 30 Jan 2005 04:04 GMT
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
Jay Freedman - 30 Jan 2005 13:43 GMT
>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
[quoted text clipped - 6 lines]
>
>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
Octav - 30 Jan 2005 22:34 GMT
Very elegant solution to my problem.  Thank you for your help!
-Octav

Rate this thread:






 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.