Userform - CommandButton_Click question

  • Thread starter Thread starter Tommy Flynn
  • Start date Start date
T

Tommy Flynn

When I try to use the command below in a UserForm, I get locked in
PrintPreview and can't close it or the form. Is there a way around this?

Private Sub CommandButton1_Click()
Sheets(1).PrintPreview
End Sub
 
Back
Top