Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
I am trying to set up a workbook to automatically move older dated items to
the top of my workbook and possibly shade them. |
#2
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
This tiny macro will auto-sort data in Column C, as well as all data in the
same row in Column A and Column B. Private Sub Worksheet_Change(ByVal Target As Excel.Range) Dim EndData As Long If Target.Column < 3 Then Exit Sub 'Sort is done based on data in Column C, which is the third column Application.ScreenUpdating = False EndData = Cells(Rows.Count, 1).End(xlUp).Row With Range(Cells(3, 1), Cells(EndData, 3)) 'Sort is done based on data in Column C, which is the third column .Sort Key1:=Range("C2"), Order1:=xlDescending, Header:=xlGuess, _ OrderCustom:=1, MatchCase:=False, Orientation:=xlTopToBottom End With Application.ScreenUpdating = False End Sub HTH, Ryan-- -- Ryan--- If this information was helpful, please indicate this by clicking ''Yes''. "Sabbjl" wrote: I am trying to set up a workbook to automatically move older dated items to the top of my workbook and possibly shade them. |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Is there ant way to prioritize by date? | Excel Worksheet Functions | |||
How do I automatically put like data into several worksheets? | Excel Worksheet Functions | |||
Data Range updating automatically as new data is entered | Charts and Charting in Excel | |||
Compare data and automatically enter data. | Excel Discussion (Misc queries) | |||
automatically expand chart data series as data is added | Charts and Charting in Excel |