HI there,
I am trying to change the code below so that the code refers to the sheet code name and not the name of the sheet i.e. "TestData". I tried ActiveWorkbook.sheet2.Sort.SortFields.Clear and ActiveWorkbook.sheet2.name.Sort.SortFields.Clear. But to no avail. Any help would be appreciated.
Kind regards,![]()
Please Login or Register to view this content.
James Elwell
Bookmarks