I believe he is using a standard MsgBox w/ vbYesNoCancel. The trouble is that MsgBox dialogues are basically modal, requiring user input before the code will continue.
I believe the solution is exactly what MajP suggested. Create an unbound form to emulate a vbYesNoCancel box, and as long as the forms Modal property is set to no, it should allow code to continue executing even if the user hasn't interacted with the form.
~Melagan
______
"It's never too late to become what you might have been.