A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Powerpoint, Publisher and Visio » Powerpoint
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

Print all slides during slide show



 
 
Thread Tools Display Modes
  #1  
Old August 15th, 2007, 06:56 PM posted to microsoft.public.powerpoint
LisaR
external usenet poster
 
Posts: 14
Default Print all slides during slide show

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!

  #2  
Old August 15th, 2007, 07:09 PM posted to microsoft.public.powerpoint
Shyam Pillai
external usenet poster
 
Posts: 622
Default Print all slides during slide show

Set the ppPrintCurrent to ppPrintAll.

--
Regards,
Shyam Pillai

Animation Carbon: Copy/Paste/Share animation libraries.
www.animationcarbon.com

"LisaR" wrote in message
...
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!


  #3  
Old August 15th, 2007, 07:54 PM posted to microsoft.public.powerpoint
LisaR
external usenet poster
 
Posts: 14
Default Print all slides during slide show

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.

"Shyam Pillai" wrote:

Set the ppPrintCurrent to ppPrintAll.

--
Regards,
Shyam Pillai

Animation Carbon: Copy/Paste/Share animation libraries.
www.animationcarbon.com

"LisaR" wrote in message
...
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!



  #4  
Old August 15th, 2007, 10:04 PM posted to microsoft.public.powerpoint
John Wilson
external usenet poster
 
Posts: 6,023
Default Print all slides during slide show

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.
--
Amazing PPT Hints, Tips and Tutorials-
http://www.PPTAlchemy.co.uk
http://www.technologytrish.co.uk
email john AT technologytrish.co.uk


"LisaR" wrote:

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!

 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump


All times are GMT +1. The time now is 09:40 AM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 OfficeFrustration.
The comments are property of their posters.