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 / December 2007

Tip: Looking for answers? Try searching our database.

Pen Colors

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
curt - 28 Dec 2007 07:52 GMT
I use the inking commands often.  I also change pen colors hundreds of times
during the creation of a document, but I only use red, green, blue, and
black.  Is it possible to create a Macro that will allow me to change pen
colors with a single click?
Glen Millar - 29 Dec 2007 12:06 GMT
Hi Curt,

You can do this with code such as posted below. You would have to refine it
(split it out into different colors). I'm sure someone else can refine it,
as I don't currently have time. Why not run a macro yourself and change the
pen settings, then look at the code in the VBA editor (Alt + F11)?

With ActivePresentation.SlideShowSettings
       .ShowType = ppShowTypeSpeaker
       .LoopUntilStopped = msoFalse
       .ShowWithNarration = msoTrue
       .ShowWithAnimation = msoTrue
       .RangeType = ppShowAll
       .AdvanceMode = ppSlideShowUseSlideTimings
       .PointerColor.RGB = RGB(Red:=255, Green:=0, Blue:=0)
       .Run
   End With
   SlideShowWindows(Index:=1).View.PointerType = ppSlideShowPointerPen
   SlideShowWindows(Index:=1).View.PointerType = ppSlideShowPointerArrow
   SlideShowWindows(Index:=1).View.Exit
End Sub

Signature

Regards,
Glen Millar
Microsoft PPT  MVP

Tutorials and PowerPoint animations at
the original www.pptworkbench.com
glen at pptworkbench dot com
------------------------------------------

> I use the inking commands often.  I also change pen colors hundreds of
> times
> during the creation of a document, but I only use red, green, blue, and
> black.  Is it possible to create a Macro that will allow me to change pen
> colors with a single click?

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.