View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.programming
scottwilsonx[_51_] scottwilsonx[_51_] is offline
external usenet poster
 
Posts: 1
Default 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