Print powerpoint slides containing Flash Dashboard

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
 
B

Bill Dilworth

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
..
 
K

Kel Good

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads

Help with a macro 1
Loop and Send To OneNote 0
printing macro 3
macro to change print options 6
Print Macro 3
PPT to PDF conversion 1
Printing Notes Page Of Current Slide 2
VBA - options buttons in PPT 3

Top