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  

Printing from within a PowerPoint show



 
 
Thread Tools Display Modes
  #1  
Old November 23rd, 2006, 01:33 PM posted to microsoft.public.powerpoint
Gaetan
external usenet poster
 
Posts: 130
Default Printing from within a PowerPoint show

Hi,

Anyone can help me with the VBA codes to print a slide from within a
presentation?

Help much appreciated.
  #2  
Old November 23rd, 2006, 01:51 PM posted to microsoft.public.powerpoint
Luc
external usenet poster
 
Posts: 1,488
Default Printing from within a PowerPoint show

Gaetan,
See if this helps you:
http://www.pptfaq.com/FAQ00763.htm

--
Luc Sanders
(MVP - PowerPoint)
"Gaetan" schreef in bericht
...
Hi,

Anyone can help me with the VBA codes to print a slide from within a
presentation?

Help much appreciated.



  #3  
Old November 23rd, 2006, 01:53 PM posted to microsoft.public.powerpoint
Bill Foley
external usenet poster
 
Posts: 156
Default Printing from within a PowerPoint show

Try this FAQ:

http://www.pptfaq.com/FAQ00763.htm

--
Bill Foley
Microsoft PowerPoint MVP
Microsoft Office Specialist Master Instructor
www.pttinc.com
"Gaetan" wrote in message
...
Hi,

Anyone can help me with the VBA codes to print a slide from within a
presentation?

Help much appreciated.



  #4  
Old November 23rd, 2006, 02:28 PM posted to microsoft.public.powerpoint
Gaetan
external usenet poster
 
Posts: 130
Default Printing from within a PowerPoint show

It surely does and works perfectly... Thanks!

"Bill Foley" wrote:

Try this FAQ:

http://www.pptfaq.com/FAQ00763.htm

--
Bill Foley
Microsoft PowerPoint MVP
Microsoft Office Specialist Master Instructor
www.pttinc.com
"Gaetan" wrote in message
...
Hi,

Anyone can help me with the VBA codes to print a slide from within a
presentation?

Help much appreciated.




  #5  
Old December 10th, 2009, 04:14 PM posted to microsoft.public.powerpoint
eduardo
external usenet poster
 
Posts: 2,131
Default Printing from within a PowerPoint show

Thank you Bill and Luc.
I am interested in displaying a print notification message after running the
macro (via action on click). Do you know what VB code I will need to add
below to make this happen?
Your help is greatly appreciated.

Ed


Sub PrintMe()

Dim lCurrentSlide As Long

' Get the SlideID of the slide currently in view
lCurrentSlide = SlideShowWindows(1).View.Slide.SlideNumber

' Set up print options
With ActivePresentation.PrintOptions

' Print a range that includes only the current slide
.RangeType = ppPrintSlideRange
' Change it to .RangeType = ppPrintAll to print the entire
presentation
' You may also need to delete the following four lines to print all
With .Ranges
.ClearAll
.Add Start:=lCurrentSlide, End:=lCurrentSlide
End With

.NumberOfCopies = 1

' This prints notes pages; change it to e.g. ppPrintOutputSlides
to print slides
' To see the other types delete everything from the = sign to the
end of the line below
' Then type = at the end of the line; VBA's Intellisense feature
will show you the available options
.OutputType = ppPrintOutputSlides

.PrintHiddenSlides = msoTrue

' Likewise, change this if you want color or pure b/w
.PrintColorType = ppPrintBlackAndWhite

.FitToPage = msoFalse
.FrameSlides = msoFalse

End With

' and PRINT
ActivePresentation.PrintOut

End Sub





"Gaetan" wrote:

It surely does and works perfectly... Thanks!

"Bill Foley" wrote:

Try this FAQ:

http://www.pptfaq.com/FAQ00763.htm

--
Bill Foley
Microsoft PowerPoint MVP
Microsoft Office Specialist Master Instructor
www.pttinc.com
"Gaetan" wrote in message
...
Hi,

Anyone can help me with the VBA codes to print a slide from within a
presentation?

Help much appreciated.




 




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 05:03 PM.


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