HI "cgables >" <
[email protected],
You could use an event macro each time you change a cell, but
that that would drive you crazy when things move around, as you
attempt to make an entry into the next cell.
A better choice would probably be to sort the sheet when the
worksheet is activated.
Event Macros, Worksheet Events and Workbook Events
http://www.mvps.org/dmcritchie/excel/event.htm
To install a worksheet event macro
http://www.mvps.org/dmcritchie/excel/event.htm#blueboxWS
Record a macro to get an idea of what you want for your sort,
the following is an example that might work for you.
It sorts on Column A ascending and Column B ascending.
The headers in Row 1 are not sorted..
Option Explicit
Private Sub Worksheet_Activate()
Cells.Sort Key1:=Range("A2"), Order1:=xlAscending, Key2:=Range("B2") _
, Order2:=xlAscending, Header:=xlYes, OrderCustom:=1, MatchCase:=False _
, Orientation:=xlTopToBottom
End Sub
We are a friendly bunch here, in the Excel newsgroups, and it's a lot more
friendly and professional to use your first and last name when posting, so
we know who we are talking to. If ExcelForum does not make that easy
then please include your first and last name in your signature line.