Re: Empty cell and a the empty String
From: JE McGimpsey (jemcgimpsey_at_mvps.org)
Date: 09/13/04
- Next message: big t: "Yes to All???"
- Previous message: Niklas: "Re: How to return #VALUE! from a UDF"
- In reply to: Niklas: "Empty cell and a the empty String"
- Messages sorted by: [ date ] [ thread ]
Date: Mon, 13 Sep 2004 09:12:26 -0600
Yes. A null string is a value. So
Empty cell:
?IsEmpty(ActiveCell.Value)
True
Cell with null string (e.g., returned by a formula, eg. =IF(TRUE,"")):
?IsEmpty(ActiveCell.Value)
False
However, XL confuses the issue by clearing the cell if a null string is
assigned as a value:
ActiveCell.Value = ""
?IsEmpty(ActiveCell.Value)
True
In article <15BECD21-5D31-495E-B839-A1C3C0881A37@microsoft.com>,
Niklas <Niklas@discussions.microsoft.com> wrote:
> Are their any differances between an empty cell and a cell containing the
> empty String?
- Next message: big t: "Yes to All???"
- Previous message: Niklas: "Re: How to return #VALUE! from a UDF"
- In reply to: Niklas: "Empty cell and a the empty String"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|