Sub jkjdsaaa()
Dim rng As Range
i = 0
For Each rng In Range("a1:d13")
If rng.Value "" Then
i = i + 1
End If
Next
If i 0 Then
MsgBox "此区域内有数据"
Else
MsgBox "此区域为空"
End If
End Su
Sub jkjdsaaa()
Dim rng As Range
i = 0
For Each rng In Range("a1:d13")
If rng.Value "" Then
i = i + 1
End If
Next
If i 0 Then
MsgBox "此区域内有数据"
Else
MsgBox "此区域为空"
End If
End Su