Hi
I got a protected worksheet in Excel.
I made a button to open userform but it says,"Run time error 1004, Method 'Range of object_ worksheet' failed"

On the button, I asigned macro and macro's name is ShowForm.
My form's name is frmTime.
Here is my cord.

Sub ShowForm ()
frmTime.Show
End Sub


When I clicked the button on Sheet, I got error message: Cannot run the macro. The macro may not be available in this workbook or all macros may be disabled.
How can I fix this problem?

Thanks