Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.programming
|
|||
|
|||
Userform - CommandButton_Click question
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 |
#2
Posted to microsoft.public.excel.programming
|
|||
|
|||
Userform - CommandButton_Click question
Set the Userform's ShowModal property to False.
Cheers, Dave -----Original Message----- 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 . |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Question regarding UserForm | Excel Discussion (Misc queries) | |||
userform question | Excel Discussion (Misc queries) | |||
UserForm Question | Excel Discussion (Misc queries) | |||
userform question | Excel Programming | |||
userform question | Excel Programming |