I am writing some VBA that contains the loop:
Do Until ActiveCell.Value = Empty
-
-
-
-
Loop
Unfortunately when the activecell value is "0", then "activecell.value = Empty" is true. How can this be correct? If there is a zero in the cell then it is not empty, it contains a zero. How can I rewrite this so that it checks if the cell is truly blank i.e. contains no data?
Do Until ActiveCell.Value = Empty
-
-
-
-
Loop
Unfortunately when the activecell value is "0", then "activecell.value = Empty" is true. How can this be correct? If there is a zero in the cell then it is not empty, it contains a zero. How can I rewrite this so that it checks if the cell is truly blank i.e. contains no data?