I have a macro now that runs and sorts the data in a sheet. Call it 'Sheet1'. I want the macro to do the same thing to a second sheet, call it 'sheet2'
Here is how the code starts with 'sheet1'
...then goes on to sort.
So what does it need to say to also do sheet2?
Thanks
Here is how the code starts with 'sheet1'
Code:
ActiveWorkbook.Worksheets("sheet1").AutoFilter.Sort. _
SortFields.Clear
So what does it need to say to also do sheet2?
Thanks