Centering an

H

Hambster

I have placed a graphic in my document, using "Insert -- Picture -- From
File...",and am unable to adjust programatically its alignment on the page.
In VBA, alignment options are not available for members of the InlineShapes
collection. Even in the dialog insode of Word, though, it doesn't allow me
to select alignment. All of those options are greyed out.

Can anyone tell me how to use VBA to set the alignment to "Center" for a
single graphic, not the text before or after it. Also, if anyone can explain
why the alignment options in the dialog box are greyed out, I'd appreciate it.

Thank you in advance.
 
C

Charles Kenyon

It can't be inline. By definition, that means it is treated as a text
character. You need to have it floating.
--
Charles Kenyon

Word New User FAQ & Web Directory: http://addbalance.com/word

Intermediate User's Guide to Microsoft Word (supplemented version of
Microsoft's Legal Users' Guide) http://addbalance.com/usersguide

See also the MVP FAQ: http://www.mvps.org/word which is awesome!
--------- --------- --------- --------- --------- ---------
This message is posted to a newsgroup. Please post replies
and questions to the newsgroup so that others can learn
from my ignorance and your wisdom.
 

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