Hi there this is my first posting to this forum but I'm hoping to get some help with a piece of code I found on an old posting on this forum:
Delete the entire row is the cell in column A is blank
What I am attempting to do is very similar - use VBA to check a large sheet of varying size and remove any rows that do not have information in the cell in column N.
The code I have got is:
Range ("n1:n5500").Select
Do
If ActiveCell = "" Then
ActiveCell.EntireRow.Delete shift:=xlUp
ActiveCell.Offset(-1, 0).Select
End If
ActiveCell.Offset(1, 0).Select
Loop Until n = n5500
The problem that I'm having is that either the loop doesn't end or for some reason if doesn't delete the rows at all and stops immediately.
Any help greatly appreciated.