Hello kurish,
Welcome to the Forum!
Copy this macro into Excel workbook "aa". The instructions are below. Change the name of "bb" in the code to the name you are using. It is marked in red.
How to Save a Worksheet Event Macro
1. Copy the macro using CTRL+C keys.
2. Open your Workbook and Right Click on the Worksheet's Name Tab for the Worksheet the macro will run on.
3. Left Click on View Code in the pop up menu.
4. Paste the macro code using CTRL+V
5. Make any custom changes to the macro if needed at this time.
6. Save the macro in your Workbook using CTRL+S
Bookmarks