In an Excel macro, I test for a blank cell using the statement:
Do Until ActiveCell.Value = Empty
but I sometimes run into trouble because the cell is not empty, but contains spaces, which should be treated as empty. How can I most easily check for a cell that is either empty or contains only spaces?
Thanks
Michael Trombetta



