i have a macro assigned to a command button on a form to CancelEvent when clicked then close the form. the event being cancelled is a print preview of a report. it does close the form but then pops an "Enter Parameter Value" messagebox. i can escape out of this but it will not recognize SendKeys of {esc} following the CancelEvent. anyone know why it does not respond to the send keys? i do not want the user to see this message box and have to escape or click cancel.
Thanks!
Thanks!