Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

how to add a print and a save button to a running slideshow anyone

0 views
Skip to first unread message

splott

unread,
Oct 26, 2006, 8:37:02 AM10/26/06
to
I have added a print button to my last slide so when the show is running i
can press the print button and it prints of the last slide the code i used is
as follows
Private SubCommandButton2_Click()

>ActivePresentation.PrintOptions.RangeType = ppPrintCurrent
>ActivePresentation.PrintOut
End Sub

But i would like to be able to print of 2/3 slides previous also can anyone
help with the code that i will need to do this

I also would like to be able to save those same slides is this possible if
yes does anyone no the code to do this any help will be much appreciated

Steve Rindsberg

unread,
Oct 26, 2006, 11:44:08 PM10/26/06
to
In article <86B4B2E8-8700-421E...@microsoft.com>, Splott wrote:
> I have added a print button to my last slide so when the show is running i
> can press the print button and it prints of the last slide the code i used is
> as follows
> Private SubCommandButton2_Click()
>
> >ActivePresentation.PrintOptions.RangeType = ppPrintCurrent

> >ActivePresentation.PrintOut
> End Sub
>
> But i would like to be able to print of 2/3 slides previous also can anyone
> help with the code that i will need to do this

Record a macro while you do this manually. Remove the line that refers to a specific
printer and the remaining code should do pretty much what you want.


-----------------------------------------
Steve Rindsberg, PPT MVP
PPT FAQ: www.pptfaq.com
PPTools: www.pptools.com
================================================


0 new messages