I have tried to write code to clear data in Col A from text "Notes from Statements" to last row containing Data
However, it is clearing text above NOTES TO STATEMENTS
It would be appreciated if someone could amend my code
However, it is clearing text above NOTES TO STATEMENTS
It would be appreciated if someone could amend my code
Code:
Sub ClearNotes()
Dim fr As Long, lr As Long
fr = ActiveSheet.Range("A:a").Find("*" & "NOTES TO STATEMENTS*").Row
lr = Cells.Find("*", , , , xlByRows, xlPrevious).Row
Range(Cells(fr, 1), Cells(lr, 1)).EntireRow.Delete
End Sub