View Single Post
 
Old 02-21-2019, 05:03 PM
chubbychub chubbychub is offline Windows 10 Office 2013
Novice
 
Join Date: Feb 2019
Posts: 5
chubbychub is on a distinguished road
Default print specific pages in vba

I have the below code that will not print the command button, but I only want certain pages printed, for example I just want pages 1 and 3.
Code:
With ActiveDocument 
.Shapes(1).Visible = msoFalse 
.PrintOut Background:=False 
.Shapes(1).Visible = msoTrue 
End With
please help, thanks in advance.
Reply With Quote