I start this macro with this.
I want the macro to stop if cell N44 plus Q21 equal 0 but I cant get it right.
any and all help would be great thanks
Code:
answer = MsgBox(prompt:="You can only RESET ONE TIME! Do you really want to do this? ", Buttons:=vbYesNo + vbCritical, Title:="Transaction Error")
If answer = vbYes Then
Sheets("Sheet3").Select
If Range("N44") + Range("Q41") = "" Then
Exit Sub
End If
Sheets("Sheet3").Select
ActiveSheet.Unprotect "alexandeR"
Range("N25:N32").Select
Selection.Copy
Range("N4:N11").Select
Selection.PasteSpecial Paste:=xlPasteAll, Operation:=xlAdd, SkipBlanks:= _
False, Transpose:=False
I want the macro to stop if cell N44 plus Q21 equal 0 but I cant get it right.
any and all help would be great thanks
Last edited by a moderator: