MsgBox is printing when I press OK or Cancel.
Posted on 2004-03-27
What is wrong with this code.
MsgBox " Please load Avery labels No. 5160 in the printer. Then press OK ", vbApplicationModal + vbOKCancel + vbInformation, "Title Company Labels"
The idea is when the user press OK the report prints when the user press cancel the report should not print the msgbox disapears and the user is return to the application.
But right now the report prints when you press OK or Cancel or Close the MsgBox.