Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR BASIC

excel vba chck that the range is empty

Sub TestIsEmpty()
    If WorksheetFunction.CountA(Range("A38:P38")) = 0 Then
        MsgBox "Empty"
    Else
        MsgBox "Not Empty"
    End If
End Sub
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #excel #vba #chck #range #empty
ADD COMMENT
Topic
Name
2+8 =