Is there a way to batch change setting for all images?

H

Henry Stock

I have a large document that needs some reformatting in order to use it as
basis for some help documentation.

Some of the changes that I want to make is to adjust the layout
characteristics of all images...
I want almost them all
left justified
indented the same amount
wrapping style square with word wrap set to top and bottom with .1
margins top and bottom

If that causes excessive white space below an image I want to remove all but
two blank lines

I have to believe this may be done using some form of macros, but the image
properties editor did not operate in macro record mode the way I had hoped.
So now I need to find the down and dirty code that would let me do this.

I have MSDN universal, but I am not sure what to search for and searches so
far have come up short.

Can any one point me in the right directions

I have a whole bunch of things I would like to build code to help me with,
things like removing un used styles from documents, changing styles to map
to a specified format, automating the building of a cover page, copywrite
notice, and table of contents, etc.

This is the kind of stuff I would think I could find in a good developer's
manual.

Any suggestions are appreciated.
 
S

Shauna Kelly

Hi Henry

As a basic introduction to programming in Word, see

Creating a macro with no programming experience using the
recorder
http://www.mvps.org/word/FAQs/MacrosVBA/UsingRecorder.htm

and

Getting To Grips With VBA Basics In 15 Minutes
http://www.mvps.org/word/FAQs/MacrosVBA/VBABasicsIn15Mins.htm

Thereafter, the VBA pages in the FAQ at www.word.mvps should provide
additional information. After that, try posting specific questions about
specific code to one of the Word programming newsgroups, such as
microsoft.public.word.vba.general.

You access images through either the Shape object and the InlineShape
object. However, not all in-line shapes are InlineShapes. An AutoShape (the
things you create from the Drawing toolbar) are a Shape whether they are
in-line or not (**sigh**).

Hope this helps.

Shauna Kelly. Microsoft MVP.
http://www.shaunakelly.com/word
 
Top