Hello
I'm getting back into doing some simple VBA with userforms in Excel.
My userform is called UserForm1 and in my Excel worksheet I have a command button which on click runs the following
Private Sub CommandButton1_Click()
UserForm1.Show
End Sub
However, when I try and run this I an error message: Runtime error 424: Object Required.
I've checked the name and UserForm1 is correct, so I've no idea where I've gone wrong.
Pendle
thank you for helping
____________
Pendle
I'm getting back into doing some simple VBA with userforms in Excel.
My userform is called UserForm1 and in my Excel worksheet I have a command button which on click runs the following
Private Sub CommandButton1_Click()
UserForm1.Show
End Sub
However, when I try and run this I an error message: Runtime error 424: Object Required.
I've checked the name and UserForm1 is correct, so I've no idea where I've gone wrong.
Pendle
thank you for helping
____________
Pendle