Hey, I'm still fairly new to VBA, but I managed to write this poxy bit of code all by myself.
If Me.Age < 18 Then
objRectangle.BoxUnders.Visible = False
Else
objRectangle.BoxUnders.Visible = True
End If
I'm very proud of it, but it doesn't work ^^ I've got some bits and pieces about carers' consent for those under 18, but I want it all hidden under a box I've called "BoxUnders" if they're over.
Can anyone point out the mistakes I'm making? If not, I'll just disable all the relative fields, but this would be far neater. Thanks.