G
Guest
Hello.
I'm pretty new to VBA. I have line of code that makes cboBox2 enabled if
cboBox1 value is "Y', and disables cboBox2 if cboBox1 value is "N".
Private Sub InvitetoClassifiedBriefing_Change()
If cboBox1 = "N" Then
cboBox2.Enabled = False
Else
cboBox2.Enabled = True
End If
End Sub
What is the syntax if I want cboBox2 to be diabled and have its value be
Null if cboBox1 = "N"?
Thanks in advance,
m.
I'm pretty new to VBA. I have line of code that makes cboBox2 enabled if
cboBox1 value is "Y', and disables cboBox2 if cboBox1 value is "N".
Private Sub InvitetoClassifiedBriefing_Change()
If cboBox1 = "N" Then
cboBox2.Enabled = False
Else
cboBox2.Enabled = True
End If
End Sub
What is the syntax if I want cboBox2 to be diabled and have its value be
Null if cboBox1 = "N"?
Thanks in advance,
m.