albino_pygmy
08-25-2015, 01:56 AM
I've lovingly borrowed this code from a help site (thanks John!) and was wondering if there are features that could tell it to print two to a page? This slideshow is set in portrait and I'd like it to print two to a landscape page when clicked.
I've already defined 'cards' as a user input variable in a previous subroutine which duplicates the second slide X number of times while in slideshow mode on slide 1.
Sub printCurr2()Dim currSldnum As Long
currSldnum = SlideShowWindows(1).View.CurrentShowPosition
With ActivePresentation.PrintOptions
.RangeType = ppPrintSlideRange
.Ranges.ClearAll ' kill any current range settings
.Ranges.Add Start:=currSldnum + 1, End:=currSldnum + cards + 1
End With
ActivePresentation.PrintOut
End Sub
I've already defined 'cards' as a user input variable in a previous subroutine which duplicates the second slide X number of times while in slideshow mode on slide 1.
Sub printCurr2()Dim currSldnum As Long
currSldnum = SlideShowWindows(1).View.CurrentShowPosition
With ActivePresentation.PrintOptions
.RangeType = ppPrintSlideRange
.Ranges.ClearAll ' kill any current range settings
.Ranges.Add Start:=currSldnum + 1, End:=currSldnum + cards + 1
End With
ActivePresentation.PrintOut
End Sub