Print powerpoint slides containing Flash Dashboard

  • Thread starter Thread starter Kel Good
  • Start date Start date
K

Kel Good

Hi there,

This is my first post so please direct me elsewhere if this is an
inappropriate spot for this. I've done lots of VBA programming in
Access/Excel/Word, but never in PowerPoint.

I have a client who has created a PowerPoint presentation that uses a Flash
dashboard on some of the slides. He wants to provide a Print button on these
slides, which he did using the code shown below.

The problem is, when the variables in the Flash dashboard are changed, the
print out does not change with them.

Is there something simple that can be added to this code to make things
work?

Thanks.

Kel

Here is the code:

Sub PrintMe()


Dim lCurrentSlide as Long

lCurrentSlide = SlideShowWindows(1).View.Slide.SlideIndex

With ActivePresentation.PrintOptions
.RangeType = ppPrintSlideRange

With .Ranges
.ClearAll
.Add Start:=lCurrentSlide, End:=lCurrentSlide
End With

.NumberOfCopies = 1
.OutputType = ppPrintOutputSlides
.PrintHiddenSlides = msoTrue
.PrintColorType = ppPrintColor
.FitToPage = msoFalse
.FrameSlides = msoFalse
End With

ActivePresentation.PrintOut

End Sub
 
Because the flash object is static in the play mode, but does not change in
the edit mode, you may need to programmatically take a screen capture, then
print the capture instead of just printing the slide.

Things to consider in writing this macro ...
... dual/multiple screens
... relationship of location of the slideshow screen
... different aspect ratios
... you may just want to capture the slide show window
... 3rd party products like SnagIt by TechSmith


--
Bill Dilworth
A proud member of the Microsoft PPT MVP Team
Users helping fellow users.
http://billdilworth.mvps.org
-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_
vestprog2@ Please read the PowerPoint FAQ pages.
yahoo. They answer most of our questions.
com www.pptfaq.com
..
 
Before I give up on this one, I"m wondering if anyone else has suggestions
that will not require screen capture. I'm appreciative of Bill's suggestions
here, but would sure like to avoid that complexity if it's possible.

Thanks.

Kel
 
Back
Top