Hey all, I need to sort a hidden worksheet, and unhiding it to allow the sort is not really an option. I have some vba code that works great for a visible worksheet, but of course makes in its pants when ran against a hidden one...can someone help?:
----------------------------
Sheets(3).Select
With Selection
.Sort Key1:=.Cells(2, 1), Order1:=xlAscending, _
Header:=xlYes, OrderCustom:=1, MatchCase:=False, _
Orientation:=xlTopToBottom
End With
----------------------------
Thanks!
----------------------------
Sheets(3).Select
With Selection
.Sort Key1:=.Cells(2, 1), Order1:=xlAscending, _
Header:=xlYes, OrderCustom:=1, MatchCase:=False, _
Orientation:=xlTopToBottom
End With
----------------------------
Thanks!