M
Michael Singmin
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
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