ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   Null? (https://www.excelbanter.com/excel-programming/303971-null.html)

Kura of Tyren

Null?
 
What does the visual basic portion of excel use to
signify a cell with no contents? I'm trying to make sure
that all cells with no content are set to black as their
font color.

Frank Kabel

Null?
 
Hi
one way:
if activecell.value="" then
.....

--
Regards
Frank Kabel
Frankfurt, Germany


Kura of Tyren wrote:
What does the visual basic portion of excel use to
signify a cell with no contents? I'm trying to make sure
that all cells with no content are set to black as their
font color.


Peter Beach

Null?
 
Hi,

One way is something based around:

If IsEmpty(Range("A1")) Then
. . .
End If

HTH

Peter Beach

"Kura of Tyren" wrote in message
...
What does the visual basic portion of excel use to
signify a cell with no contents? I'm trying to make sure
that all cells with no content are set to black as their
font color.





All times are GMT +1. The time now is 12:06 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com