I have created an Userform on Excel (see codes below), when I run the macro to open the form I get a "Run-tim error '424': Object Required" even though I know the form is there. edit: Error happens on the macro, UserFrom3.Show. I double checked the form name and it is correct. Any thoughts?
Dim fecha As Date
fecha = Calendar1.Value
Call selectDate(unit, fecha)
End Sub
Private Sub Calendar1_Click()
Dim fecha As Date
fecha = Calendar1.Value
Call selectDate(fecha)
End Sub
Private Sub CommandButton1_Click()
Sheets("Summary").Activate
Unload Me
End Sub
Private Sub CommandButton3_Click()
Range("B3:J14").Select
Selection.ClearContents
Range("b3").Select
End Sub
Private Sub UserForm_Initialize()
With Application
'.ScreenUpdating = False
.EnableEvents = False
End With
Calendar1.Value = Date
End Sub