>>Take out ' thisform.AskToSave() = 2' and see whether that solves the problem
>>
>>First asking a question thisform.AskToSave() which involves another mouseclick seems a long time before NODEFAULT
>>
>>As to the question. I wonder
>
>Can you explain in details your suggestion? I do want to have a question otherwise what's the point?
A commandButton with the code in the Click() will do
Gregory