G'day Praful <Praful@discussions.microsoft.com>,
The best way is to intercept each call and set a parm or global
variable.
Eg
Sub FileSave()
DoMySave "FileSave"
End Sub
Sub FileSaveAs()
DoMySave "FileSaveAs"
End Sub
etc
Steve Hudson - Word Heretic
steve from wordheretic.com (Email replies require payment)
Without prejudice
Praful reckoned:
>Hello All,
>
[quoted text clipped - 6 lines]
>Thanks for help.
>GS
Praful - 22 Jul 2005 08:42 GMT
Hi,
Thanks for your reply. But I have already this idea in my mind but was not
willing to implement the same coz it will increase the size of code only.
I want to directly check the same under DocumentBeforeSave as this event is
called when we press Save, Save As, Save As web page, Auto save, Exit, close
the document, close the application. So i have to then interrupt all the
events to get the idea from where i have got a call. i just want to interrupt
the Auto Save call. which means that if the DocumentBeforeSave event is
called from autoSave event of Word then i should perform some predefined
action else not.
I hope i am clear about my question.
GS
> G'day Praful <Praful@discussions.microsoft.com>,
>
[quoted text clipped - 30 lines]
> >Thanks for help.
> >GS