P
Patrick C. Simonds
From within UserForm2 when I click on OptionButton1 I want the MakeVisable
code (shown below) to run. The problem is that I get an "object required"
error. What do I need to add?
Private Sub OptionButton1_Click()
Call MakeVisable.MakeVisable
End Sub
Sub MakeVisable()
Label8.Visible = True
Label9.Visible = True
TextBox3.Visible = True
TextBox4.Visible = True
TextBox3.Value = Format$(Now(), "HH:MM")
TextBox4.Value = Format$(Now(), "mm/dd/yy")
End Sub
code (shown below) to run. The problem is that I get an "object required"
error. What do I need to add?
Private Sub OptionButton1_Click()
Call MakeVisable.MakeVisable
End Sub
Sub MakeVisable()
Label8.Visible = True
Label9.Visible = True
TextBox3.Visible = True
TextBox4.Visible = True
TextBox3.Value = Format$(Now(), "HH:MM")
TextBox4.Value = Format$(Now(), "mm/dd/yy")
End Sub