Hi, Can someone tell me why im getting this issue
Code:
Private Sub Workbook_BeforeSave(ByVal SaveAsUI As Boolean, Cancel As Boolean)
If (Sheets("Supplier Checklist").Range("D24").Value) = "No" And Sheets("Supplier Checklist").Range("E21") = "" Then
SaveAsUI = False
MsgBox "Please define the non compliance/PCA where a No is entered", vbExclamation
Sheets("Sheet1").Range("D13").Select
End If
End Sub
Last edited by a moderator: