From: Piri on
Word 2007

I would like to be able to use a macro (assigned to QA toolbar) to set
the format of a (manually) selected picture to WrapTight - one click
instead of having to open the Format Picture Layout dialogue each
time.

Is this possible?

Any help gratefully appreciated

Piri
From: Graham Mayor on
On Error Resume Next
Selection.InlineShapes(1).ConvertToShape
Selection.ShapeRange.WrapFormat.Type = wdWrapTight

will work.
http://www.gmayor.com/installing_macro.htm
--
<>>< ><<> ><<> <>>< ><<> <>>< <>><<>
Graham Mayor - Word MVP

My web site www.gmayor.com
Word MVP web site http://word.mvps.org
<>>< ><<> ><<> <>>< ><<> <>>< <>><<>




"Piri" <wiremu.pareiha(a)gmail.com> wrote in message
news:268f063f-6d1c-402c-99c3-84917334e90b(a)g28g2000prb.googlegroups.com...
> Word 2007
>
> I would like to be able to use a macro (assigned to QA toolbar) to set
> the format of a (manually) selected picture to WrapTight - one click
> instead of having to open the Format Picture Layout dialogue each
> time.
>
> Is this possible?
>
> Any help gratefully appreciated
>
> Piri


From: Piri on
Thank you, works a treat Graham,
Appreciated.

Regards,
Piri



On Mar 13, 11:59 pm, "Graham Mayor" <gma...(a)REMOVETHISmvps.org> wrote:
> On Error Resume Next
> Selection.InlineShapes(1).ConvertToShape
> Selection.ShapeRange.WrapFormat.Type = wdWrapTight
>
> will work.http://www.gmayor.com/installing_macro.htm
> --
> <>>< ><<> ><<> <>>< ><<> <>>< <>><<>
> Graham Mayor -  Word MVP
>
> My web sitewww.gmayor.com
> Word MVP web sitehttp://word.mvps.org
> <>>< ><<> ><<> <>>< ><<> <>>< <>><<>
>
> "Piri" <wiremu.pare...(a)gmail.com> wrote in message
>
> news:268f063f-6d1c-402c-99c3-84917334e90b(a)g28g2000prb.googlegroups.com...
>
> > Word 2007
>
> > I would like to be able to use a macro (assigned to QA toolbar) to set
> > the format of a (manually) selected picture to WrapTight - one click
> > instead of having to open the Format Picture Layout dialogue each
> > time.
>
> > Is this possible?
>
> > Any help gratefully appreciated
>
> > Piri