A family of Microsoft spreadsheet software with tools for analyzing, charting, and communicating data.
Okay,
assuming that 'ListObject' workbook named: abcd.xlsx is closed
in path "c:\Users\Tasos\Desktop\abcd.xlsx"
and data in Sheet1 (first sheet tab)
try this code...
[edit...]
Sub macro_01()
'Apr 12, 2016
Dim wb1 As Workbook
Application.ScreenUpdating = False
Set wb1 = Workbooks.Open("c:\Users\Tasos\Desktop\abcd.xlsx")
'start sort ###
With wb1.Sheets(1).ListObjects("**Table1").**Sort.SortFields
.Clear
.Add Key:=Range("Table1[Header4]"), SortOn:=xlSortOnValues, _
Order:=xlAscending, DataOption:=xlSortNormal
End With
With wb1.Sheets(1).ListObjects("Table1").Sort
.Header = xlYes
.MatchCase = False
.Orientation = xlTopToBottom
.SortMethod = xlPinYin
.Apply
End With
'end sort ###
wb1.Save
wb1.Close False
Application.ScreenUpdating = True
MsgBox "done"
End Sub