Good afternoon joewood86
If you are using buttons from the Control Toolbox toolbar, then something like this would toggle the state of the .Enabled property for CommandButton1, depending on whether cell A1 was filled or not :
Private Sub Worksheet_Change(ByVal Target As Range)
If Range("A1") = "" Then
ActiveSheet.OLEObjects("CommandButton1").Object.Enabled = False
Else
ActiveSheet.OLEObjects("CommandButton1").Object.Enabled = True
End If
End Sub
This needs to go in the relevant sheet's event procedure module.
HTH
DominicB
Bookmarks