New sheet button causes crash

TCEMR

New Member
Joined
Mar 21, 2015
Messages
10
I have a 200 sheet .xlsm worbook with a lot of code. When I add a new ActiveX command button to a sheet, then click on "Properties" for the button, Excel crashes every time. If I open a completely new workbook, the same thing happens but only once. If I then access the Properties for the for the button in the new workbook, the Properties dialog opens. I can then also open the Properties dialog in the original workbook. Strange?
 

TCEMR

New Member
Joined
Mar 21, 2015
Messages
10
I have not tried that at the time but I will. However, this problem has occurred multiple times in recent weeks and I reboot my computer every day. However, the problem does seem to occur when I am in the middle of a significant building/testing session, so I will test this after a fresh reboot with no or other code changes. Thank you for your rapid reply!
 

My Aswer Is This

Well-known Member
Joined
Jul 5, 2014
Messages
16,272
I have the same problem sometimes.
I have had this problem for a year or more.
It does not always happen but I have never sorted out when it does and does not happen.
And why or why not.
I believe it happens more often when the Open Workbook has not been saved and named.
 

Forum statistics

Threads
1,081,574
Messages
5,359,704
Members
400,545
Latest member
Damntheman30

Some videos you may like

This Week's Hot Topics

  • VBA (Userform)
    Hi All, I just would like to know why my code isn't working. Here is my VBA code: [CODE=vba]Private Sub OKButton_Click() Dim i As Integer...
  • List box that changes fill color
    Hello, I have gone through so many pages trying to figure this out. I have a 2020 calendar that depending on the day needs to have a certain...
  • Remove duplicates and retain one. Cross-linked cases
    Hi all I ran out of google keywords to use and still couldn't find a reference how to achieve the results of a single count. It would be great if...
  • VBA Copy and Paste With Duplicates
    Hello All, I'm in need of some input. My VBA skills are sub-par at best. I've assembled this code from basic research and it works but is...
  • Macro
    is it possible for a macro to run if the active cell value is different to the value above it
  • IF DATE and TIME
    I currently use this to check if date has passed but i also need to set a time on it too. Is it possible? [CODE=vba]=IF(B:B>TODAY(),"Not...
Top