Hello, I have attached a "mock" Excel table to mimic an issue I'm having with a document from work. I have to have the custom sort list through code and a command button for numerous reasons.
When I press the sort button on this attached table, it works; however, when I close the workbook, and it asks me if I wish to save changes, I click "save" then the sheet crashes and the sort changes don't take.
I have not clicked on the command button in the attached document - it was the only way I could save this document for upload on this site.
Can someone tell me what I've done wrong within the coding? At work we use Excel 2010 and from this computer I'm using right now is Excel 2016. Thank you very much.
When I press the sort button on this attached table, it works; however, when I close the workbook, and it asks me if I wish to save changes, I click "save" then the sheet crashes and the sort changes don't take.
I have not clicked on the command button in the attached document - it was the only way I could save this document for upload on this site.
Can someone tell me what I've done wrong within the coding? At work we use Excel 2010 and from this computer I'm using right now is Excel 2016. Thank you very much.