This code converts the selected range into an Excel table.
VBA Code:
Sub ConvertRangeToTable()
Selection.ConvertToTable TableStyleName:="TableStyleMedium2"
End Sub
This code converts the selected range into an Excel table.
VBA Code:
Sub ConvertRangeToTable()
Selection.ConvertToTable TableStyleName:="TableStyleMedium2"
End Sub