View Single Post
  #3   Report Post  
Posted to microsoft.public.excel.programming
[email protected][_2_] gimme_this_gimme_that@yahoo.com[_2_] is offline
external usenet poster
 
Posts: 236
Default Excel Sort Problem...


TempList.Range("M20:W" & TempList.Cells(17, 24).Value - 1).Select


This looks funky.

Check out the address associated with this Selection ...

MsgBox Selection.Address

Better yet, save the address and MsgBox the address on error.

Here is a tip certain not to help you but I'll say it anyway to annoy
you.

Yet it's true.

If I'm doing a lot of sorting I'll put the data of each row into a
class, create a list of objects of that class, and then use a modified
version of JWalk's sort in place Sub.