📜  excel vba 检查范围为空 - BASIC 代码示例

📅  最后修改于: 2022-03-11 14:52:01.859000             🧑  作者: Mango

代码示例1
Sub TestIsEmpty()
    If WorksheetFunction.CountA(Range("A38:P38")) = 0 Then
        MsgBox "Empty"
    Else
        MsgBox "Not Empty"
    End If
End Sub