I have some buttons an Excel sheet and and I have VBA code that changes a property of a button based on user actions.
The problem is, once VBA changes the button property, it considers it a worksheet change and clears the Undo stack.
I know there's no way to prevent VBA from clearing the Undo stack when making a change to a sheet, but perhaps I can make the button's parent some object other than the worksheet? Or any other ideas?
The problem is, once VBA changes the button property, it considers it a worksheet change and clears the Undo stack.
I know there's no way to prevent VBA from clearing the Undo stack when making a change to a sheet, but perhaps I can make the button's parent some object other than the worksheet? Or any other ideas?