Hello fellow developers! I've got a problem I haven't been able to resolve on my own. Your help is ggreatly appreciated!
Here's my scenario:
I've got a function which generates several different output mediums for numerous entities. I've recently employed "EnableCancelKey" to trap the escape key to (1) prevent the user from interrupting code, and (2) permitting a controlled stop of an ongoing routine.
HOWEVER, when printed and/or PDF outputs are being processed, the "Printing" dialog appears with the CANCEL button. This dialog nullifies my coding above and kills the process. IS THERE ANYWAY TO SHUT THIS PRINTING DIALOG OFF???
FYI - Application.DisplayAlerts = False do not work.
Thanks in advance!!!
Here's my scenario:
I've got a function which generates several different output mediums for numerous entities. I've recently employed "EnableCancelKey" to trap the escape key to (1) prevent the user from interrupting code, and (2) permitting a controlled stop of an ongoing routine.
HOWEVER, when printed and/or PDF outputs are being processed, the "Printing" dialog appears with the CANCEL button. This dialog nullifies my coding above and kills the process. IS THERE ANYWAY TO SHUT THIS PRINTING DIALOG OFF???
FYI - Application.DisplayAlerts = False do not work.
Thanks in advance!!!