L
lamby74
Private Sub Project_BeforePrint(ByVal pj As Project)
MessageBox.Show "Are you sure you want to print this?", "Print Verify",
MsgBoxStyle.YesNo
If Dialogresult = yes Then
Cancel = False
ElseIf Dialogresult = no Then
Cancel = True
End If
End Sub
I want this to come up when a user clicks print - some of Projects reports
are hundreds of pages long, and I want another way to cancel an "accidentally
clicked on print job".
Thank you!
MessageBox.Show "Are you sure you want to print this?", "Print Verify",
MsgBoxStyle.YesNo
If Dialogresult = yes Then
Cancel = False
ElseIf Dialogresult = no Then
Cancel = True
End If
End Sub
I want this to come up when a user clicks print - some of Projects reports
are hundreds of pages long, and I want another way to cancel an "accidentally
clicked on print job".
Thank you!