Using VB to place pictures behind text

D

David Cleave

Hi all

I give up! How do I set a picture to go behind text using VB? It doesn’t
seem to be one of the WrapFormat.Type constants. Z-Order doesn’t seem to work
either.

Many thanks

David
 
T

Tony Jollans

If the picture is in line with the text it is an "InlineShape" - if ithas
any other type of wrapping, it is a Shape. It sounds like you have an
inlineshape, so you need to convert it ...

[YourPicture].ConvertToShape

You should then be able to use WrapFormat, etc.
 
D

David Cleave

Hi Tony

Thank you for your reply. Currently the picture is sitting on top of the
text, so it is not inline. I just need to be able to set it behind the text!

Any tips?

Cheers

David

Tony Jollans said:
If the picture is in line with the text it is an "InlineShape" - if ithas
any other type of wrapping, it is a Shape. It sounds like you have an
inlineshape, so you need to convert it ...

[YourPicture].ConvertToShape

You should then be able to use WrapFormat, etc.

--
Enjoy,
Tony


David Cleave said:
Hi all

I give up! How do I set a picture to go behind text using VB? It doesn't
seem to be one of the WrapFormat.Type constants. Z-Order doesn't seem to work
either.

Many thanks

David
 
T

Tony Jollans

And

[Shape].ZOrder msoSendBehindText

doesn't work?

--
Enjoy,
Tony


David Cleave said:
Hi Tony

Thank you for your reply. Currently the picture is sitting on top of the
text, so it is not inline. I just need to be able to set it behind the text!

Any tips?

Cheers

David

Tony Jollans said:
If the picture is in line with the text it is an "InlineShape" - if ithas
any other type of wrapping, it is a Shape. It sounds like you have an
inlineshape, so you need to convert it ...

[YourPicture].ConvertToShape

You should then be able to use WrapFormat, etc.

--
Enjoy,
Tony


David Cleave said:
Hi all

I give up! How do I set a picture to go behind text using VB? It doesn't
seem to be one of the WrapFormat.Type constants. Z-Order doesn't seem
to
work
either.

Many thanks

David
 
D

David Cleave

Tony

That works perfectly! I didn't spot that in the IntelliSense list.

Thank you

David

Tony Jollans said:
And

[Shape].ZOrder msoSendBehindText

doesn't work?

--
Enjoy,
Tony


David Cleave said:
Hi Tony

Thank you for your reply. Currently the picture is sitting on top of the
text, so it is not inline. I just need to be able to set it behind the text!

Any tips?

Cheers

David

Tony Jollans said:
If the picture is in line with the text it is an "InlineShape" - if ithas
any other type of wrapping, it is a Shape. It sounds like you have an
inlineshape, so you need to convert it ...

[YourPicture].ConvertToShape

You should then be able to use WrapFormat, etc.

--
Enjoy,
Tony


Hi all

I give up! How do I set a picture to go behind text using VB? It doesn't
seem to be one of the WrapFormat.Type constants. Z-Order doesn't seem to
work
either.

Many thanks

David
 
T

Tony Jollans

My pleasure!

--
Enjoy,
Tony


David Cleave said:
Tony

That works perfectly! I didn't spot that in the IntelliSense list.

Thank you

David

Tony Jollans said:
And

[Shape].ZOrder msoSendBehindText

doesn't work?

--
Enjoy,
Tony


David Cleave said:
Hi Tony

Thank you for your reply. Currently the picture is sitting on top of the
text, so it is not inline. I just need to be able to set it behind the text!

Any tips?

Cheers

David

:

If the picture is in line with the text it is an "InlineShape" - if ithas
any other type of wrapping, it is a Shape. It sounds like you have an
inlineshape, so you need to convert it ...

[YourPicture].ConvertToShape

You should then be able to use WrapFormat, etc.

--
Enjoy,
Tony


Hi all

I give up! How do I set a picture to go behind text using VB? It doesn't
seem to be one of the WrapFormat.Type constants. Z-Order doesn't
seem
to
work
either.

Many thanks

David
 

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