1. I don't know why you have problems with the codes
2. Might be the space between the "[" and the "C" in the [ CODE]
iFindCol = 0
iFindCol = Application.WorksheetFunction.Match("Milestone", Sheets("Report Data").Rows(1), 0)
For z = 2 To Sheets("Report Data").Cells(Rows.Count, "A").End(xlUp).Row
If Sheets("Report Data").Cells(z, iFindCol).Value = "Withdrawal" Then
Rows(z).EntireRow.Delete
End If
Next z
To delete rows, you need to start from the bottom and delete your way up
For iRow = Activesheet.UsedRange.Rows.Count To 2 Step -1
If .... Then ActiveSheet.Rows (iRow).Delete
Next iRow
Paul