Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]() |
#2
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
If you need to apply the filter:
Sub TryNow() Dim myR As Range Set myR = ActiveCell.CurrentRegion 'Apply your filter myR.AutoFilter Field:=7, Criteria1:="=65", Operator:=xlAnd Intersect(myR, Range("J2:J" & Rows.Count)).SpecialCells(xlCellTypeVisible).Value = 1 myR.AutoFilter End Sub Otherwise, if the filter is applied already Sub SetJ() Intersect(ActiveSheet.UsedRange, ActiveSheet.Range("J2:J" & Rows.Count)) _ .SpecialCells(xlCellTypeVisible).Value = 1 End Sub -- HTH, Bernie MS Excel MVP "John Keith" wrote in message ... After autofiltering a range of data I next want to change the value of column J of every row found to "1". What is the mechanism for specifying the sorted range and changing the value? John Keith |
#3
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]() |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
can you change the colour of the arrow from blue when filtering? | Excel Discussion (Misc queries) | |||
Keep boarder on merged cell while filtering data in another column | Setting up and Configuration of Excel | |||
rename column header after filtering column results in the MS SQL | Excel Programming | |||
VBA to address first visible cell in Column "D" after filtering | Excel Discussion (Misc queries) | |||
trouble filtering a list. Why isn't column filtering? | Excel Worksheet Functions |