Glad it helps you and thanks for the feedback 
Just a first line has been changed in the below code, DELETE the previous code from the sheet event code. The below code should be pasted in THISWORKBOOK code window. Refer the below to know how to add the code in THISWORKBOOK CODE window.
To add code in ThisWorkbook Code Window- Copy the below code
- Select the workbook in which you want to store the code
- Hold the Alt key, and press the F11 key, to open the Visual Basic Editor
- In the Project Explorer, find your workbook, and open the list of Microsoft Excel Objects
- Right-click on the ThisWorkbook object, and choose View Code
- Where the cursor is flashing, choose Edit | Paste
Bookmarks