#1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 4
Default 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.
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 3,885
Default 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.

  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 70
Default 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.



Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Failed to save table attributes of (null) into (null). Luca Brasi Excel Discussion (Misc queries) 2 February 4th 09 04:30 PM
COUNTIF says Null = Blank but Blank < Null Epinn Excel Worksheet Functions 4 October 25th 06 08:03 PM
if a1 = null then a1 = b1...how do I do this? tomas Excel Discussion (Misc queries) 1 April 19th 06 06:04 PM
cell value based on null/not null in another cell spence Excel Worksheet Functions 1 February 18th 06 11:49 PM
When value is NOT Null sbigelow Excel Worksheet Functions 4 October 7th 05 10:12 AM


All times are GMT +1. The time now is 03:41 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"