I have this to check to see if the sheet is empty but how do I do the opposite? The reason why I'm asking is because I want to run some block of code if the sheet is not empty...
Thank you!
Code:
If WorksheetFunction.CountA(Cells) = 0 Then
MsgBox "sheet is empty"
End If
Thank you!