Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Hello group,
I am trying to detect if a cell is blank. The Empty case always triggers correctly but never the Full case when a cell has something in it. Private Sub Worksheet_SelectionChange(ByVal Target As Range) If Not Application.Intersect(Target, Range("B1:B20")) Is Nothing Then Select Case Target Case IsEmpty("Target"): [D1] = "Empty" Case Len("Target") 0: [D2] = "Full" End Select End If End Sub Any insight ? Thanks, Michael Singmin |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
testing for a value in a cell | Excel Discussion (Misc queries) | |||
Testing cell value for greater than 0 | Excel Worksheet Functions | |||
Testing a cell value | Excel Worksheet Functions | |||
testing cell value | Excel Programming | |||
testing the value of a cell | Excel Programming |