I sent a friend a workbook with a macro that includes some sorting. When he tries it he gets:
Run-time error \'438\' Object doesn\'t support this propert
Use SortFields.Add instead of the newer version SortFields.Add2, which is not supported in older versions of Excel.
From the .Add2
documentation:
This API includes support for sorting off a SubField from data types, such as Geography or Stocks. You can also use the
Add
method if sorting by a data type is not needed.
... and you are not sorting by data type, so use .Add
.