Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Print a specific file using a Powerpoint acion button

Status
Not open for further replies.

kgoblin

Technical User
Oct 30, 2002
2
GB
Cheers Skip for the Activepresentation.print command, but this prints the whole presentation out. I need the macro to access the appropriate document and print that out, not the whole set of slides. I'm sure it must have something to do with using the file name followed by .print. Is there a way of being more specific as to the document to be printed?

Kgoblin; de-tethering! ;-)
 
K,
Code:
    With ActivePresentation.PrintOptions
        .RangeType = ppPrintSlideRange
        With .Ranges
            .ClearAll
            .Add Start:=1, End:=1
            .Add Start:=3, End:=5
        End With
        .NumberOfCopies = 1
        .Collate = msoTrue
        .OutputType = ppPrintOutputSlides
        .PrintHiddenSlides = msoTrue
        .PrintColorType = ppPrintBlackAndWhite
        .FitToPage = msoFalse
        .FrameSlides = msoFalse
        .HandoutOrder = ppPrintHandoutHorizontalFirst
        .ActivePrinter = "\\CONVAIR\M053HP02EA1"
    End With
    ActivePresentation.PrintOut
prints 1, 3-5

:)

Skip,

Want to get great answers to your Tek-Tips questions? Have a look at FAQ219-2884
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top