Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.programming
|
|||
|
|||
ActiveWindow.ScrollColumn Sort
Is there a way I can identify a range to be sorted without using th
scrollcolumn function. I'm referring to the result of recording a macro selecting a range b dragging you mouse. My range = ("G11:CX298") Thank -- Message posted from http://www.ExcelForum.com |
#2
Posted to microsoft.public.excel.programming
|
|||
|
|||
ActiveWindow.ScrollColumn Sort
set rng = Worksheets("Sheet5").Range("G11:CX298")
rng.Sort Key1:=rng(1,6) ' sort on column L as an example The sheet doesn't even need to be visible. -- Regards, Tom Ogilvy "hotherps " wrote in message ... Is there a way I can identify a range to be sorted without using the scrollcolumn function. I'm referring to the result of recording a macro selecting a range by dragging you mouse. My range = ("G11:CX298") Thanks --- Message posted from http://www.ExcelForum.com/ |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Updating workbook with an alpha sort sheet and a numeric sort shee | Excel Discussion (Misc queries) | |||
sort function for dates does not sort properly in Office 2007 Exc. | Excel Worksheet Functions | |||
Creating a Powerpoint object (in XP onwards) with an ActiveWindow | Excel Discussion (Misc queries) | |||
Excel sort by Fill Color by custom list sort | Excel Discussion (Misc queries) | |||
Using ActiveWindow.PointsToScreenPixelsY | Excel Programming |