Hi all,
I hope you can help me with an issue for VBA. I would like enable a buttom only when, a cell (of a dropdown menu) is filled. I try this, but the button is still working when nothing is in the cell.
>>> use code - tags <<<
I hope you can help me with an issue for VBA. I would like enable a buttom only when, a cell (of a dropdown menu) is filled. I try this, but the button is still working when nothing is in the cell.
>>> use code - tags <<<
Code:
Public Sub dropdownbuttomchange1()
If Target.Address("$G$172").Value <> "" Then
ButtomAssignmentSN.Enabled = True
Else
ButtomAssignmentSN.Enabled = False
End If
End Sub
Last edited by a moderator: