Userform - CommandButton_Click question

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top