Currently I am creating an Excel workbook that is Macro Enabled and after reaching completion, realized my undo button is disabled. I have searched this site and many other forums for a solution but have been unable to find code that fits my situation. The workbook consists of a home page sheet and four "template" sheets that are very hidden. A user can enter a name into a text box on the home page and a click a command button that will in turn create copies of the templates and save them as the name entered.
I managed to make everything work without any code in the "This Workbook" sheet or creating any macros, but since I use the Worksheet_SelectionChange(...) event and other VBA code, the undo stack is erased constantly.
Also I would like to note that trying to fix the problem by creating copies of the worksheets and saving any changes to them does not work either. Since my project relies on copies to work already, It makes this method obsolete.
Ultimately, all I need is code that will undo user actions (ex: text edits). I do not need to undo any VBA commands. Any help on how to make this possible would be greatly appreciated!