Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Identifying a value


How, using VB, can you determine the difference between a zero and
blank cell?

Thanks

--
jtrevil
-----------------------------------------------------------------------
jtrevill's Profile: http://www.excelforum.com/member.php...fo&userid=1660
View this thread: http://www.excelforum.com/showthread.php?threadid=31502

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 11,123
Default Identifying a value

The VBA IsEmpty function you can use if a cell is really empty

Sub test()
If IsEmpty(Range("A1")) = True Then
MsgBox "blank"
Else
MsgBox "not blank"
End If
End Sub


--
Regards Ron de Bruin
http://www.rondebruin.nl


"jtrevill" wrote in message ...

How, using VB, can you determine the difference between a zero and a
blank cell?

Thanks!


--
jtrevill
------------------------------------------------------------------------
jtrevill's Profile: http://www.excelforum.com/member.php...o&userid=16601
View this thread: http://www.excelforum.com/showthread...hreadid=315026



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
Identifying new records Hunginbk Excel Discussion (Misc queries) 2 January 25th 10 09:24 PM
Identifying correct row RCulli0322 Excel Discussion (Misc queries) 1 November 16th 08 05:05 PM
identifying text associated with MIN value vanessa Excel Discussion (Misc queries) 4 October 17th 08 06:12 PM
Identifying famdamly Excel Discussion (Misc queries) 2 February 26th 06 06:44 AM
Identifying #N/A cells Lee Harris Excel Worksheet Functions 1 November 18th 05 02:57 AM


All times are GMT +1. The time now is 12:44 PM.

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

About Us

"It's about Microsoft Excel"