Remember that sorting data is reversible as long as you don’t help save the changes straight away. So don’t panic should you make a mistake. Recording of the macro starts right away soon after clicking the Close button. Perform the actions you want to history and have the macro execute. https://www.customguide.com/excel/excel-header