Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / General PowerPoint Questions / May 2008

Tip: Looking for answers? Try searching our database.

Add a border to a slide with VBA

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
biganthony - 12 May 2008 09:40 GMT
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
John Wilson - 12 May 2008 10:04 GMT
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.

Signature

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

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

> Hi,
>
[quoted text clipped - 5 lines]
>
> Anthony
Steve Rindsberg - 12 May 2008 16:22 GMT
> Hi,
>
[quoted text clipped - 3 lines]
>
> 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
================================================
John Wilson - 12 May 2008 16:43 GMT
That is scaringly close to the example I just typed in!
Signature

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

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

> > Hi,
> >
[quoted text clipped - 14 lines]
> PPTools:  www.pptools.com
> ================================================
Steve Rindsberg - 12 May 2008 21:24 GMT
> 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
================================================
biganthony - 14 May 2008 01:39 GMT
Thanks John and Steve for your help.

Anthony

>> That is scaringly close to the example I just typed in!
>
[quoted text clipped - 5 lines]
>PPTools:  www.pptools.com
>================================================

Rate this thread:






 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.