View Single Post
  #2   Report Post  
Posted to microsoft.public.excel.programming
Ikaabod[_29_] Ikaabod[_29_] is offline
external usenet poster
 
Posts: 1
Default Sorting data in non-contiguous cells


I'd make a macro that moves each of the sets of 2 columns into one long
set of 2 columns, sorts them alphabetically, then redistributes them to
their respective columns for every 30 rows. If you have data below row
32 that shouldn't be overwritten, then just have the macro create a new
worksheet to paste the data into temporarily and have it delete the
worksheet upon finishing.

jonco Wrote:
I have a worksheet with a Customer Number in Col A and a Customer Name
in
Column B in rows 3-32
The list continues in Column C (Customer Number) and Column D
(Customer
Name) in rows 3-32 and also Columns E&F and G&H. (also in rows 3-32)
There are some blank rows at the end for adding new customers)
This is so the entire list can be viewed on one screen (sort of like on
an
index card with 2 columns for each record [Number and name])
What I want to be able to do is sort this list alphabetically using
the
customer name. Can this be done? If so, how?
Thanks for your help.
Jonco



--
Ikaabod
------------------------------------------------------------------------
Ikaabod's Profile: http://www.excelforum.com/member.php...o&userid=33371
View this thread: http://www.excelforum.com/showthread...hreadid=537004