This works for me (Excel 2016) with a new ActiveX button, assigns a control button to you, and you are all set.
Sub deactivate_buttons() ActiveSheet.Shapes.Item("CommandButton1").ControlFormat.Enabled = False End Sub
It changes the Enabled property in the ActiveX Properties field to False, and the button becomes inactive and inactive.
source share