Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
I have column N that has data validation of only "Yes" . i would like to move
the rows with the "Yes" value in column N to the bottom of the sort. i have a sort button with this code below. What would i need to insert to do this? Sub SortSunday() ' 'Sort's Sundays Qualifying' ' ActiveSheet.Unprotect Password:="" With ActiveSheet With .Range("B8", .Range("N8").End(xlDown)) .Sort Key1:=.Columns(12), Order1:=xlAscending, _ Key2:=.Columns(11), Order2:=xlDescending, _ Header:=xlYes ActiveSheet.Protect DrawingObjects:=True, Contents:=True, Scenarios:=True, Password:="" End With End With End Sub Many Thanks in Advance! Greg |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Trying to enter a formula to sum a colum based on 2 condition | Excel Worksheet Functions | |||
I am trying to lookup a cell based upon what is in row 3 and colum | Excel Discussion (Misc queries) | |||
sum certain cells in a column based on criteria from another colum | Excel Worksheet Functions | |||
Locate max value of one column based on criteria in another colum | Excel Worksheet Functions | |||
How can I group a bunch of cells together, so I can sort by colum. | Excel Worksheet Functions |