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.