groups of inlineshapes

A

adrian

Hi all,

can anyone tell me if it is possible for VBA to to be
applied to one set of images in a doc while not effecting
others?

I have a group of images that are put in one part of a
long document and one group in another. I want to apply my
resizing code to the letter set only.

I cannot now convert one set to shapes as I have some
other code that resizes the shapes!.

In verbose terms I am looking for some something like.

"Select all inlineshapes after this point and apply this
code".

Is this possible?

Regards
Adrian
 
D

Doug Robbins - Word MVP

Hi Adrian,

If the shapes were in a separate Section of the of the document (insert one
temporarily if necessary), you could use:

Dim ashape As Shape
For Each ashape In ActiveDocument.Sections(2).Range
ashape.whateveryouwanttodo
Next ashape

Please respond to the newsgroups for the benefit of others who may be
interested.

Hope this helps
Doug Robbins - Word MVP
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top