To outsmart it we can make it using
Macro in
Visual Basic Application. But before going into the coding step, so that the macro runs in any Excel file, we have to keep it in the
Personal Macro Workbook.
Personal Macro Workbook is a workbook that contains the spcial Excel system named
PERSONAL.XLSB. This workbook will be formed if the user create Macros by Recording, and save it in the Personal Macro Workbook.
Personal Macro Workbook is stored in a special folder, according to the user who is logged on. For example, the folder path on my computer is:
C:\Users\RADDINI\AppData\Roaming\Microsoft\Excel\XLSTART\PERSONAL.XLSBThis workbook is opened automatically when Excel starts, It's just hidden so that it looks as if there is no open Excel files. How to display it, on the
View tab
Window category click
Unhide then
Unhide dialog box is displayed. select
PERSONAL and click
OK.
If you do not find the Personal Macro Workbook in the folder path or by Unhide, maybe you have never created Macros by Recording. So before you going to the next step, you have to create Macros by Recording.