When you don't require variable declaration and just stick in a new variable name, a Variant variable is created, and its initial value is Empty, which is the same as an empty cell. So your code works serendipitously, not by design.
If you want to test if a cell is Empty, use IsEmpty(cell.value).