Hello all. I would like to have my users be able to print a message box when and if they get it. What i would like is when the user gets an error for them to be able to press a button in the msgbox and to have the msgbox message print to there default printer.
I hope this makes sense to everytone.
MsgBox "An error has occurred." & _
vbCrlf & "Please make note of the following details:" & _
vbCrlf & "Error Number: " & Err.Number & _
vbCrlf & "Description: " & Err.Description _
, vbCritical, "ERROR"
It is a little more work but you could create a form that displays the message instead of using a message box. You could then provide a button on the form that would print the current form or you could create a report with unbound text boxes that fill in with the values in your message form and then print that report from your message form.