Filtered data for column M is not filling down visible with my input change to first visible row of data in column M. It is filling down for first row in the first cell beyond the header row for column M not my input into the first visible cell in M. It is not validating data is returned and filling down the first row down. Not skipping because there was no data to fill down.
I have tried many different pieces of code I have found on visible and selection and filling down to no avail.
Sub DataData ()
'Change Active Worksheet to Raw Data
Worksheets("Raw Data").Activate
Application.ScreenUpdating = False
ActiveSheet.Range("$A$1:$Z$" & Rows.Count).End(xlUp).AutoFilter Field:=4, Criteria1:= _
"*Data*"
With Worksheets("Raw Data").AutoFilter.Range
Range("M" & .Offset(1, 0).SpecialCells(xlCellTypeVisible)(1).Row).Select
End With
ActiveCell.FormulaR1C1 = " DataData "
With Worksheets("Raw Data").AutoFilter.Range
Range("M" & .Offset(1, 0).SpecialCells(xlCellTypeVisible)(1).Row).Select
End With
With ActiveSheet.UsedRange.Select
se
.Resize(.Rows.Count - 1).Offset(1).Columns("M"). _
SpecialCells(xlCellTypeVisible).FillDown
End With
ActiveSheet.ShowAllData
I am trying to filter Data on the 4th column, then in row M on first visible cell for that column, input DataData (if there was anything found in the filter), then fill down only visible data from first cell visible in column M.