LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 32
Default check if the result of a formula is null

in cell A1, I have a formula:
=IF(INDIRECT("'Time Line'!a"&ROW())=0,"",INDIRECT("'Time
Line'!a"&ROW()))

How would I check for this condition in code?

I'd tried using:
if len(Range("A1") = 0 then... but it seems to evaluate the actual cell
contents, not the result of the formula in the cell (consequently, the
condition always checks TRUE)

thanks in advance,
mark


 
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
How do I get Null as a result of an if? [email protected] Excel Discussion (Misc queries) 6 August 11th 06 07:55 PM
How do I set a result of an "if" function to NULL; not 0 or ""? mbrockhaus Excel Worksheet Functions 5 May 16th 05 06:59 PM
if A1=Null and B1=A1 why is result in B1=0 ?? WGeorg Excel Discussion (Misc queries) 3 March 18th 05 12:32 PM
Null Field Result in Loop Ken Excel Programming 2 October 19th 04 10:07 PM
Check null for range objects kaon[_45_] Excel Programming 2 August 24th 04 09:46 AM


All times are GMT +1. The time now is 02:30 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"