vba shapes WrapFormat inline

S

sender

hello I have a quick question.

I have some shapes in documents that are set to layout "in front of text".
I am trying to set them in vba to "in line with text". So they get attached
into the document, and are not "floaty".

I am trying
"shape.WrapFormat.Type = wdWrapInline".

but it does seem to work.
any suggestions?
thanks in advance
 
M

Marty Lee

Howdy Sender,

I'm using Word 2000 and "wdWrapInLine" is not
documented in the Type Property page of VBA Help as a
valid enum for the WrapFormat object. Although I've not
yet tried it, it appears to me that I will be needing to
use "wdWrapTopBottom" in order to get the text to flow
directly from above the object to below the object. If
you try this out could you let us know if it works?

thanks,
Marty

(To avoid junk mail 'bots' my email address is corrupted
to read 'nsm.com' instead of the correct 'msn.com')
 
S

sender

ActiveDocument.Shapes(1).ConvertToInlineShape

Marty Lee said:
Howdy Sender,

I'm using Word 2000 and "wdWrapInLine" is not
documented in the Type Property page of VBA Help as a
valid enum for the WrapFormat object. Although I've not
yet tried it, it appears to me that I will be needing to
use "wdWrapTopBottom" in order to get the text to flow
directly from above the object to below the object. If
you try this out could you let us know if it works?

thanks,
Marty

(To avoid junk mail 'bots' my email address is corrupted
to read 'nsm.com' instead of the correct 'msn.com')
 

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