My previous message was blank so Im trying again. I have a button on a
form which opens the Import dialogue box. This works fine except if I
click on the "X" to close the form I get Run-Time Error 2501: the
DoMenuItem was Cancelled". How can I trap this error so that it doesn't
display but simply closes the form?
Thanks
Colin
*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!