View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.programming
desmondleow[_11_] desmondleow[_11_] is offline
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/