Hello I am trying to write vba maybe someone can help me with this task. Every day I receive a report and I need to cut the rows where column D says NYMTR and Column N says Rollovered and move it to two rows below the table...
Here is something that is not working for me:
Sub MoveRows() FinalRow = Cells(1048576, 1).End(x1Up).Row For x = 1 To FinalRow If Cells(x, "N").Value = "Rollovered" And Cells(x, "D").Value = "NYMTR" Then ActiveCell.EntireRow.Cut Destination:=FinalRow+2 End If Next x End Sub
Bookmarks