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: 1
Default How to refer to a blank/null value?

I have the following If Else statement:

If CDbl(myString) < "" Then
cells(n,9).Value = CDbl(myString)
End If


However, it doesn't work. MyString is declared as a String and it is
copying a field from another application. How can I check that
myString is empty/null?


---
Message posted from http://www.ExcelForum.com/

 
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
Need help with Formula. Need it to return Null, not Blank Aled Davies Excel Discussion (Misc queries) 0 January 27th 11 04:20 PM
Delete Null/Blank Rows Theresa Excel Discussion (Misc queries) 8 December 18th 07 05:17 AM
If null, make cell blank Nicole L. Excel Worksheet Functions 1 September 30th 07 08:25 AM
COUNTIF says Null = Blank but Blank < Null Epinn Excel Worksheet Functions 4 October 25th 06 08:03 PM
How can I refer to a blank cell when using conditional formating? Kman Excel Discussion (Misc queries) 2 June 23rd 06 05:22 AM


All times are GMT +1. The time now is 07:29 AM.

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"