Hi! having some issues with my clear contents vba.
I want to clear anything thats in A7:J, there may be some cells with no data, or 0s, basically want to clear anything thats listed there.
I tried the below ,and it doesnt appear to clear everything.
Any ideas? Thanks!
I want to clear anything thats in A7:J, there may be some cells with no data, or 0s, basically want to clear anything thats listed there.
I tried the below ,and it doesnt appear to clear everything.
VBA Code:
lr = ActiveSheet.Range("A7:A" & Rows.Count).Find("").Row - 1
Set clrrng = Range("A7:J" & lr)
clrrng.ClearContents
Any ideas? Thanks!