M
maxhugen
I have ongoing problems differentiating whether a cell IsBlank or not!
Q1: Is a blank cell the same as an empty string? I tried deleting a
value in cell C4, then in another cell entered =C4="" and another cell:
= IsBlank(C4). They both returned TRUE, so I assume they are the same
(blank and empty string).
Q2: I sent someone a spreadsheet and they deleted the contents of a
cell (well, I assume they did, there's no value in it).
BUT, when I check for an empty string, or isblank, they both show
false! I then tried comparing to zero just in case: =C4=0. False
again.
I then tried using the immediate window in vba:
?worksheet.cells(4,3)
But it returned nothing.
So, what the heck is the value of cell C4?
It's not zero, or an empty string, or blank... but no value can be
seen, nor is a value returned in code!
I'm pretty Ok in vba, but type-casting sure gives ne a few headaches in
Excel!
Any suggestions would really be appreciated.
MTIA
Q1: Is a blank cell the same as an empty string? I tried deleting a
value in cell C4, then in another cell entered =C4="" and another cell:
= IsBlank(C4). They both returned TRUE, so I assume they are the same
(blank and empty string).
Q2: I sent someone a spreadsheet and they deleted the contents of a
cell (well, I assume they did, there's no value in it).
BUT, when I check for an empty string, or isblank, they both show
false! I then tried comparing to zero just in case: =C4=0. False
again.
I then tried using the immediate window in vba:
?worksheet.cells(4,3)
But it returned nothing.
So, what the heck is the value of cell C4?
It's not zero, or an empty string, or blank... but no value can be
seen, nor is a value returned in code!
I'm pretty Ok in vba, but type-casting sure gives ne a few headaches in
Excel!
Any suggestions would really be appreciated.
MTIA