A family of Microsoft spreadsheet software with tools for analyzing, charting, and communicating data.
I have uploaded the workbook with macro to https://1drv.ms/x/s!Akd5y6ruJhvhiggnTeiHJVAyIvE5
For your reference, below are the steps which I have undertaken
- Make a backup of your workbook.
- Open your workbook and ALT+F11
- Locate your Workbook name in Project Explorer Window
- Double click on your worksheet name
- Copy paste the Macro code given below
- Save your file as .xlsm Private Sub Worksheet_Change(ByVal Target As Range) On Error GoTo ExitSub Application.EnableEvents = False If Intersect(Target, Me.Columns("B")) Is Nothing Then GoTo ExitSub Me.UsedRange.Sort Key1:=Range("B1"), order1:=xlAscending, Header:=xlYes ExitSub: Application.EnableEvents = True End Sub