I'm banging my head against the wall trying to sort each table in my workbook alphabetically by first column. My code is as follows:
It runs fine through some worksheets but stops on one sheet in particular and gives me a 1004 Method Range of object global failed error on the .SortFields.Add line.Please Login or Register to view this content.
Any ideas how to fix this?
Bookmarks