I've got the following column in a table
and I've got the following code
lrow2 = Cells(Rows.Count, 25).End(xlUp).Row
Range_to_delete = "Y2:Y" & lrow2
Range(Range_to_delete).Clear
My problem right now is that sometimes there are no numbers on column Y, therefore when that code executes it deletes the header too, is there a way I can modify the following line of code so that it excludes row 1 somehow?
lrow2 = Cells(Rows.Count, 25).End(xlUp).Row
Note: I can't say if lrow2 = 1 then skip this part because then that messes up some of my other conditions that I use later on.
