revelation.now
New Member
- Joined
- Dec 11, 2009
- Messages
- 10
Hi All,
I'm trying to replace some ugly grey buttons in a document with ActiveX buttons. If I add a button, put some code behind it, exit Design mode and click on the button, rather than executing code a smaller copy of the button appears above and to the left of the button.
If I then save the document and reopen it, sometimes the button starts working, but usually not.
Heres an example of the code I'm trying to run:
I've tried deleting all exd files from my computer. Is this a known issue and is there a work around? I see Microsoft broke ActiveX controls in Excel back in 2014, but I would have thought 4 years later they would be fixed?
I'm trying to replace some ugly grey buttons in a document with ActiveX buttons. If I add a button, put some code behind it, exit Design mode and click on the button, rather than executing code a smaller copy of the button appears above and to the left of the button.
If I then save the document and reopen it, sometimes the button starts working, but usually not.
Heres an example of the code I'm trying to run:
Code:
Private Sub CommandButton1_Click()
Sheets("Sheet2").Visible = True
Worksheets("Sheet2").Activate
End Sub
I've tried deleting all exd files from my computer. Is this a known issue and is there a work around? I see Microsoft broke ActiveX controls in Excel back in 2014, but I would have thought 4 years later they would be fixed?
Last edited: