ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   Sorting based on a cell (https://www.excelbanter.com/excel-programming/312501-sorting-based-cell.html)

scottwilsonx[_51_]

Sorting based on a cell
 

Thanks, tried that:

I get an error message saying "Run-time error '1004'"
: Method 'Range' of object' _Global' failed

with the line
Selection.SORT Key1:=Range(SortMonth), Order1:=xlAscending
highlighted in debug mode.

Thanks for your help.
Scott

--
scottwilson
-----------------------------------------------------------------------
scottwilsonx's Profile: http://www.excelforum.com/member.php...fo&userid=1112
View this thread: http://www.excelforum.com/showthread.php?threadid=26638



All times are GMT +1. The time now is 12:02 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com