From: biganthony via OfficeKB.com on
Hi,

Is there a simple way to add a rectangular border to a slide with VBA code?

Is this done with AddShape?

I would appreciate any help.

Anthony

--
Message posted via OfficeKB.com
http://www.officekb.com/Uwe/Forums.aspx/powerpoint/200805/1

From: John Wilson john AT technologytrish.co DOT on
I would add a rectangle using addshape with the Left and Top = the inset
needed and the width and height based on slideheight/slidewidth less twice
the inset.


--
-------------------------------------------
Amazing PPT Hints, Tips and Tutorials

http://www.PPTAlchemy.co.uk
http://www.technologytrish.co.uk
email john AT technologytrish.co.uk


"biganthony via OfficeKB.com" wrote:

> Hi,
>
> Is there a simple way to add a rectangular border to a slide with VBA code?
>
> Is this done with AddShape?
>
> I would appreciate any help.
>
> Anthony
>
> --
> Message posted via OfficeKB.com
> http://www.officekb.com/Uwe/Forums.aspx/powerpoint/200805/1
>
>
From: Steve Rindsberg on
In article <84086157178bc(a)uwe>, Biganthony via OfficeKB.com wrote:
> Hi,
>
> Is there a simple way to add a rectangular border to a slide with VBA code?
>
> Is this done with AddShape?
>
> I would appreciate any help.

Here's John's suggestion translated into VBA

Frame a slide with a rectangle
http://www.pptfaq.com/FAQ00941.htm

-----------------------------------------
Steve Rindsberg, PPT MVP
PPT FAQ: www.pptfaq.com
PPTools: www.pptools.com
================================================


From: John Wilson john AT technologytrish.co DOT on
That is scaringly close to the example I just typed in!
--
-------------------------------------------
Amazing PPT Hints, Tips and Tutorials

http://www.PPTAlchemy.co.uk
http://www.technologytrish.co.uk
email john AT technologytrish.co.uk


"Steve Rindsberg" wrote:

> In article <84086157178bc(a)uwe>, Biganthony via OfficeKB.com wrote:
> > Hi,
> >
> > Is there a simple way to add a rectangular border to a slide with VBA code?
> >
> > Is this done with AddShape?
> >
> > I would appreciate any help.
>
> Here's John's suggestion translated into VBA
>
> Frame a slide with a rectangle
> http://www.pptfaq.com/FAQ00941.htm
>
> -----------------------------------------
> Steve Rindsberg, PPT MVP
> PPT FAQ: www.pptfaq.com
> PPTools: www.pptools.com
> ================================================
>
>
>
From: Steve Rindsberg on
In article <F00F9777-0529-4084-9333-E707C2A338A5(a)microsoft.com>, John Wilson
wrote:
> That is scaringly close to the example I just typed in!
>

Ah, but which of us should that frighten more? ;-)

-----------------------------------------
Steve Rindsberg, PPT MVP
PPT FAQ: www.pptfaq.com
PPTools: www.pptools.com
================================================