Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
I stumbled onto the Worksheet_Calculate() method of sorting and find it
very useful in one of my workbooks. Private Sub Worksheet_Calculate() Dim Lrow As Long On Error GoTo ws_exit: Application.EnableEvents = False Lrow = Cells(Rows.Count, "A").End(xlUp).Row Range("A17:H" & Lrow).Sort key1:=Range("A17"), header:=xlNo Range("I17:I" & Lrow).FillDown 'insure Formula gets added where needed ws_exit: Application.EnableEvents = True End Sub Routinely I will insert a row at the bottom of existing data for new data and then type in a name I would like to add something to the routine so when I type in that name, it not only immediately gets put in the proper row alphabetically, but the routine would then jump to that row. I can't figure it out. -- David |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
NEED #s TO BE DISPLAYED AS TYPED! | New Users to Excel | |||
Typed in value changes? | New Users to Excel | |||
Typed in value changes? | New Users to Excel | |||
If typed 12805 then 12/8/05 | Excel Worksheet Functions | |||
How do I get a - when a 0 is typed in a cell? | Excel Discussion (Misc queries) |