Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.programming
|
|||
|
|||
Empty Cell
What is the character for an empty cell? If I use 0,
this is what I have. If (Range("A" & n).Value) = 0 Then I want the 0 to be replaced with an empty cell character. Thank you. |
#2
Posted to microsoft.public.excel.programming
|
|||
|
|||
Empty Cell
|
#3
Posted to microsoft.public.excel.programming
|
|||
|
|||
Empty Cell
If IsEmpty(Range("A" & n).Value) Then
'do stuff End If Good Luck CB wrote in message ... What is the character for an empty cell? If I use 0, this is what I have. If (Range("A" & n).Value) = 0 Then I want the 0 to be replaced with an empty cell character. Thank you. |
#4
Posted to microsoft.public.excel.programming
|
|||
|
|||
Empty Cell
You could also do this:
If Len(Range("A" & n).Value) = 0 Then Which might run a bit faster, but I haven't tested both to see. CB Hamlyn wrote in message ... What is the character for an empty cell? If I use 0, this is what I have. If (Range("A" & n).Value) = 0 Then I want the 0 to be replaced with an empty cell character. Thank you. |
#5
Posted to microsoft.public.excel.programming
|
|||
|
|||
Empty Cell
Try
If Len(Range("A" & n).Value) = 0 Then tod -----Original Message----- What is the character for an empty cell? If I use 0, this is what I have. If (Range("A" & n).Value) = 0 Then I want the 0 to be replaced with an empty cell character. Thank you. . |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
When is a cell empty and how do I empty it. | Excel Discussion (Misc queries) | |||
format a cell with a formula so an empty reference cell shows blan | Excel Discussion (Misc queries) | |||
Leaving an empty cell empty | Excel Discussion (Misc queries) | |||
why a reference to an empty cell is not considered empty | Excel Discussion (Misc queries) | |||
VBA to copy to empty cell directly below a cell when analogous cells in different column have same value as each other? | Excel Programming |