Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
I want to sort all worksheets without selecting them. I was attempting to
alter some code I got from Norman Jones which allowed me to perform other functions with out actually selecting the worksheet, but it only seems to sort the active worksheet. What am I missing? Dim SH As Worksheet For Each SH In ActiveWorkbook.Worksheets Range("A3:h1301").Select Selection.Sort Key1:=Range("A4"), Order1:=xlAscending, Header:=xlGuess, _ OrderCustom:=1, MatchCase:=False, Orientation:=xlTopToBottom, _ DataOption1:=xlSortNormal Next SH |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
A "sort" problem | Excel Discussion (Misc queries) | |||
Sort Problem | Excel Worksheet Functions | |||
sort problem with first row | Excel Programming | |||
Sort Problem | Excel Programming | |||
Sort Problem | Excel Discussion (Misc queries) |