Hi There,
I shared my excel sheet to my colleague at work, it has a userform in it, but when he opened it there was a message that says some object cannot be loaded because there are some items missing. He just ignored it, but when he clicks the command button for userform to show, run time error 424 comes up.
How can I solve this? As I checked the code and the form name, it is not mis spelled. Kindly advise how to solve this. I believe there must be some missing controls from my colleauges version of EXCEL but I just don't know how to find out.
HYKE
I shared my excel sheet to my colleague at work, it has a userform in it, but when he opened it there was a message that says some object cannot be loaded because there are some items missing. He just ignored it, but when he clicks the command button for userform to show, run time error 424 comes up.
How can I solve this? As I checked the code and the form name, it is not mis spelled. Kindly advise how to solve this. I believe there must be some missing controls from my colleauges version of EXCEL but I just don't know how to find out.
HYKE
Code:
Private Sub Submit_Click()
If tb_Password <> "passworD" Then
Results = MsgBox("Sorry, Wrong Password -- Bye Now", vbOKOnly, "NO DICE")
Unload PWUserform
Else
UserForm1.Show
Unload PWUserform
End If
End Sub