PDA

View Full Version : Wrap image ‘Through'



babsiee
03-31-2014, 12:26 PM
Hi guys,
a quick question: How do I wrap the text around my image, that the image is set as ‘Wrap Through’?
I am using .WrapFormat.Type = wdWrap right now, but I want the text to wrap around the logo….
Hope someone can help.

Thanks!

Best,
Babette

macropod
03-31-2014, 03:39 PM
There is no 'wdWrap' format. As per the VBE help file, the available formats are:


wdWrapInline

7

Places shapes in line with text.



wdWrapNone

3

Places shape in front of text. See also wdWrapFront.



wdWrapSquare


Wraps text around the shape. Line continuation is on the oposite side of the
shape.



wdWrapThrough

2

Wraps text around the shape.



wdWrapTight

1

Wraps text close to the shape.



wdWrapTopBottom

4

Places text above and below the shape.



wdWrapBehind

5

Places shape behind text.



wdWrapFront

6

Places shape in front of text.

snb
04-01-2014, 06:24 AM
Sub M_snb()
ActiveDocument.Shapes.AddPicture("G:\mijn afbeeldingen\peer.jpg").WrapFormat.Type = 7
End Sub

macropod
04-01-2014, 06:38 AM
Sub M_snb()
ActiveDocument.Shapes.AddPicture("G:\mijn afbeeldingen\peer.jpg").WrapFormat.Type = 7
End Sub
snb: It is truly amazing how little attention you pay to the specs of the posts to which you reply. WrapFormat.Type 7 does not provide for text wrapping - it's in-line with text.

fumei
04-01-2014, 10:23 AM
Perhaps snb is following up with the strategy previously expressed regarding learning, i.e. giving incorrect or incomplete information in order to "help" others learn.

macropod
04-01-2014, 03:50 PM
Oh, I see, someone asks a question so you give a reply that doesn't answer the question and is, in fact, intended to lead one astray. Sounds like snb would make a good politician...