Hi, robrobet,
of course - if you use code-tags around your procedure? 
There may only be one procedure with the Name of Worksheet_BeforePrint in ThisWorkbook:
Private Sub Workbook_BeforePrint(Cancel As Boolean)
With ActiveSheet
If .Range("f28") <> .Range("i41") Then
Cancel = True
MsgBox "Please check the total amount in F28 (Highlight in Green) match with total I41!"
Exit Sub
End If
If WorksheetFunction.CountBlank(.Range("N8:N14")) = .Range("N8:N14").Cells.Count Then
Cancel = True
MsgBox "You need to fill out Range N8:N14 before printing!"
End If
End With
End Sub
First check is between F28 and I41, if they do not match show Message and exit sub.
Ciao,
Holger
Bookmarks