B
Baby Face Lee
Hi everyone,
I've got a situation where three reports are open and there is a macro
attached to the associated toolbar which refers to the 'RunCode' procedure
and a particular function that I've created. This function runs an input box
for each of the three reports in turn, asking the user how many copies of the
report they'd like printed. I've included some blurb in the input box prompt
asking users not to hit the Cancel button as this halts the procedure/macro
resulting in an error message (the macro based 'action failed' message or a
vb 'type mismatch' error).
Is it possible to specify that you don't want a Cancel button with an Input
Box (like you can specify elements of a MsgBox)?
If not, can I trap the errors if a user should still click the Cancel button?
Thanks for your help and advice.
Regards,
Lee
I've got a situation where three reports are open and there is a macro
attached to the associated toolbar which refers to the 'RunCode' procedure
and a particular function that I've created. This function runs an input box
for each of the three reports in turn, asking the user how many copies of the
report they'd like printed. I've included some blurb in the input box prompt
asking users not to hit the Cancel button as this halts the procedure/macro
resulting in an error message (the macro based 'action failed' message or a
vb 'type mismatch' error).
Is it possible to specify that you don't want a Cancel button with an Input
Box (like you can specify elements of a MsgBox)?
If not, can I trap the errors if a user should still click the Cancel button?
Thanks for your help and advice.
Regards,
Lee