Discussions
Categories
Groups
Community Home
Categories
INTERNAL ENABLEMENT
POPULAR
THRUST SERVICES & TOOLS
CLOUD EDITIONS
Quick Links
MY LINKS
HELPFUL TIPS
Back to website
Home
Web CMS (TeamSite)
Distinguish between File>save and File>save as
Kes
Hi Devnet people, I wonder if you can help me with the following problem I am having within a Word .dot template file (this is in VBA sorry about this).
I have the following code:
Option Explicit
Private WithEvents m_IManExtObj As iManO2k.iManageExtensibility
In the constructor of the class I have
Set m_IManExtObj = m_WordApp.IManageExt
Where m_WordApp is a word application object.
Then I have the following subroutine
Private Sub m_IManExtObj_DocumentBeforeSaveAsOptions(ByVal doc As Object, IgnoreIManageSave As Boolean)
MsgBox("HELLO")
End sub
The problem is that when ever I do a file>save or a file>save as the above subroutine always gets called no matter what file save option I select. Is there anyway to distinguish between the file>save and file>save as menu options within word?
Thanks for your help on this
Find more posts tagged with
Comments
Migrateduser
Have you tried stting your Normal.dot to watch for specific document events and set a registry setting recording the type of file save?
barchart.gif