Need code to look at "S3" of Sheet1, IF="#N/A", THEN cut that Row 3 and paste it onto first available open row on Sheet2.
Then, continue to move down Sheet1 looking at each row for rows meeting that criteria (loop through Sheet1 to end).
I was trying to use the below code as a start, but not sure how to conform it to use "IF/THEN" criteria.
I'm open to either conforming this -- or throwing it out and using a better solution! Thanks!
Then, continue to move down Sheet1 looking at each row for rows meeting that criteria (loop through Sheet1 to end).
I was trying to use the below code as a start, but not sure how to conform it to use "IF/THEN" criteria.
I'm open to either conforming this -- or throwing it out and using a better solution! Thanks!
Code:
Sub CutPasteRow_MODULE_11()
Application.ScreenUpdating = False
Worksheets("Sheet1").Select
ActiveCell.EntireRow.Select
Selection.Cut
Sheets("Sheet2").Select
Range("A65536").End(xlUp).Offset(1, 0).Select
ActiveSheet.Paste
Application.CutCopyMode = False
Sheets("Sheet1").Select
Selection.Delete Shift:=xlUp
ActiveCell.Select
Application.ScreenUpdating = True
End Sub