how to properly cancel the current process through AutoClose() sub()
Hello,
when closing a document (which already exists in the base and which I open by clicking on it), vba passes through the AutoClose() procedure which has no arguments, and not in BeforeClose(Cancel As Boolean) as it does for a newly created document.
The problem I have in this case is that I can't properly cancel the current process, as can be done in BeforeClose(...) with Cancel = True.
Is there a solution to simulate a BeforeClore in an AutoClose without input arguments?
Best Regards,
David
|