Private Sub Worksheet_Change(ByVal Target As Excel.Range)
BOM_anzeigen.Visible = Range("AD2").Value = 0
End Sub
When in Cell AD2 stands 0 the button will be visible, if not it vanish.
Worksheet_Change | Evertime someone changes a cell this makro will work |
BOM_anzeigen | Name of the Buttom |