VBA Help

  • Thread starter Thread starter Matt Howard
  • Start date Start date
M

Matt Howard

Hello all--

I'm trying to get a label that is default visible=false
(Forms!frmAuthListPending) to become visible based on a
check box in another form (Forms!frmDriverInfo!Pending).
I placed the code in the Pending_Click Event in
frmDriverInfo.

The debugger spits back that it cannot find the object
frmAuthList that I have included. Here is my code:

If Forms!frmDriverInfo!Pending = True Then
Forms!frmAuthList!Pending.Visible = True
End If
If Forms!frmDriverInfo!Pending = False Then
Forms!frmAuthList!Pending.Visible = False
End If

Any help is appreciated.

Thanks,
Matt
 
Back
Top