Print the screen from an Action Button.

  • Thread starter Thread starter Mike M.
  • Start date Start date
M

Mike M.

I have a presentation that runs on a touch screen computer. I would like a
user to be able to print the current screen (or slide) by pressing an action
button (labeled Print). There is no keyboard, just a touch screen. Do I
have to do this with VBA or an executable program (run from the action
settings)? Is there some method within PowerPoint so I don't have to make
an addin or executable?

TIA
 
I'm not sure about other options, but a VBA option would look something
like this:

Sub PrintCurrentSlide()
Dim theSlide As Long

theSlide = ActivePresentation.SlideShowWindow.View.Slide.SlideIndex
ActivePresentation.PrintOptions.OutputType = ppPrintOutputSlides
ActivePresentation.PrintOut From:=theSlide, To:=theSlide
End Sub

--David

--
David M. Marcovitz
Microsoft PowerPoint MVP
Director of Graduate Programs in Educational Technology
Loyola College in Maryland
Author of _Powerful PowerPoint for Educators_
http://www.loyola.edu/education/PowerfulPowerPoint/
 
That works great David.

Thanks.

David M. Marcovitz said:
I'm not sure about other options, but a VBA option would look something
like this:

Sub PrintCurrentSlide()
Dim theSlide As Long

theSlide = ActivePresentation.SlideShowWindow.View.Slide.SlideIndex
ActivePresentation.PrintOptions.OutputType = ppPrintOutputSlides
ActivePresentation.PrintOut From:=theSlide, To:=theSlide
End Sub

--David

--
David M. Marcovitz
Microsoft PowerPoint MVP
Director of Graduate Programs in Educational Technology
Loyola College in Maryland
Author of _Powerful PowerPoint for Educators_
http://www.loyola.edu/education/PowerfulPowerPoint/
 

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

Back
Top