F
Felipe
I’m trying to make a frame Disappears, but I keep making the same mistake.
Everytime I try to put in a code the same message appears. The code I’m
writing is this one.
Function Item_Open()
Set objPage = Item.GetInspector.ModifiedFormPages("message")
Set objControl_CB1 = objPage.Controls("Checkbox1")
Set objControl_LB1 = objPage.Controls("frame3")
If objControl_CB1 = True Then
objControl_LB1.Visible = True
ElseIf objControl_CB1 = False then
objControl_LB1.Visible = True
Else
End If
End Function
The message I get is that I need the obeject= objpage and the vba depurator
highlight the following line “Set objControl_CB1 =
objPage.Controls("Checkbox1")â€
Please help me.
Everytime I try to put in a code the same message appears. The code I’m
writing is this one.
Function Item_Open()
Set objPage = Item.GetInspector.ModifiedFormPages("message")
Set objControl_CB1 = objPage.Controls("Checkbox1")
Set objControl_LB1 = objPage.Controls("frame3")
If objControl_CB1 = True Then
objControl_LB1.Visible = True
ElseIf objControl_CB1 = False then
objControl_LB1.Visible = True
Else
End If
End Function
The message I get is that I need the obeject= objpage and the vba depurator
highlight the following line “Set objControl_CB1 =
objPage.Controls("Checkbox1")â€
Please help me.