This code works, and I tried to add to it, and this is the code that I added:
Code:
Private Sub Validation_flag_passed_Click()
If Me.Validation_flag_passed Then
Me.Flag_validated_only_Labs.Enabled = False
Me.Flag_validated_only_Documents.Enabled = False
Me.Name_First.Enabled = False
Me.Name_Last.Enabled = False
Else
Me.Flag_validated_only_Labs.Enabled = True
Me.Flag_validated_only_Documents.Enabled = True
Me.Name_First.Enabled = True
Me.Name_Last.Enabled = True
End If
End Sub
The issue I am running into is when I debug I get this error,
Compile Error:
Method or Data member not found
And it is highlighting the .Enabled on my two new ones (the ....documents, and the ...labs) that I am adding. Any suggestions on why this is occuring?