Dear All
My present code calls a Macro even if one cell is non empty.
I want to call the macro Printmatters only if all the ranges mentioned in the code is filled. If any one cell is empty it should not call the macro.
Thank you
My present code calls a Macro even if one cell is non empty.
Code:
Sub EmptyCell()
If Range("D9") = Empty And Range("D11") = Empty And Range("D15") = Empty And Range("D22") = Empty Then
MsgBox "Empty Cells"
Else
Call PrintMatters
End If
End Sub
Thank you