>Vlad,
>Thanks for the answer, but I don't like it. There has to be some way around this. I have been plagued by this as I am writing a conversion program. I finally was able to pin it down to a typeo. The problem was it occured on about the 8000th time thru a loop. Debugging is hard under those circumstances.
Calvin,
If the user exits from the Open dialog by clicking on Cancel, the error #52 will be raised and you can handle it. I don't think there is any option to suppress this annoying dialog (but there should be, I agree). That leaves only the alternative strategy of making an explicit check for the condition that would lead to an error before attempting a command that might trigger this dialog.
Mike