Print all slides during slide show

G

Guest

Hi, I'm trying to create a macro that will allow the viewer of the PowerPoint
presentation (slide show) to print all of the slides when they click a Print
button I've created. The code I'm using will print the current slide, but I
don't know the syntax to change it to print all of the slides. Here's the
code I'm using:

Sub prnt()
ActivePresentation.PrintOptions.RangeType = ppPrintCurrent
ActivePresentation.PrintOut
End Sub

Thank you!
 
G

Guest

I tried this, but it still only printed the first slide (the slide that
contains the button). I set up the macro in the VB editor as a "module." Is
this how I should have done it?
Thanks!
Lisa.
 
G

Guest

Hi

With Shyam's mod the code should definitely print all slides. If you have
inserted it in a module you should have a shape or an action button (not a
command button) with an action setting of run macro.
 

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

Top