Me__2001
Internet Junkie
- Joined
- Apr 5, 2004
- Messages
- 4,354
- Reaction score
- 1
i'll try and explain this, my sister is making a powerpoint presentation for her uni course and she wants a link in it to open a worksheet with just a print button so the kids cant go wrong, so i've linked it to a standalone powerpoint presentation (you know the sort you get in an email that cant be edited) with a button that runs a macro to print the slide and a button to exit
this is the code for the print macro
the problem is the bold bit, that is my printer i need it so the macro will work on any PC with what ever printer it has, anyone know how i can do that or can i just remove that line? and how do i make it so the buttons dont get printed ?
this is the code for the print macro
Code:
[/color]
Sub Macro1()
With ActivePresentation.PrintOptions
.RangeType = ppPrintAll
.NumberOfCopies = 1
.Collate = msoTrue
.OutputType = ppPrintOutputSlides
.PrintHiddenSlides = msoTrue
.PrintColorType = ppPrintColor
.FitToPage = msoFalse
.FrameSlides = msoFalse
[b].ActivePrinter = "Canon i865"[/b]
End With
ActivePresentation.PrintOut
End Sub[color=Red]
the problem is the bold bit, that is my printer i need it so the macro will work on any PC with what ever printer it has, anyone know how i can do that or can i just remove that line? and how do i make it so the buttons dont get printed ?
Last edited: