Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Hello,
I have the following subroutine for sorting a table: Sheets("Quotes").Range("A5:AB500").Sort Key1:=Range("A5"), Order1:=xlAscending, Header:=xlGuess, _ OrderCustom:=1, MatchCase:=False, Orientation:=xlTopToBottom, _ DataOption1:=xlSortNormal This works fine when I the worksheet in question "Quotes" is the active worksheet. However, when I invoke this macro while another worksheet is open, I get an error. Any assist with this is greatly appreciated. Thanks Jeff |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Lock worksheet, based on dropdown selection prior worksheet | New Users to Excel | |||
why does worksheet require two different forms of same formulas | Excel Worksheet Functions | |||
Please assist... | Excel Worksheet Functions | |||
Formula Assist | Excel Discussion (Misc queries) | |||
Please assist | Excel Worksheet Functions |