I have an Excel add-in which will update the footer using the eventsobjApplication_WorkbookBeforePrint(ByVal Wb As Workbook, Cancel As Boolean) and objApplication_WorkbookOpen(ByVal Wb As Workbook).I would like to update the footer on a new Save, New Version save and Profile update as per the standard Word Footer macros. The following events do not appear to trigger anything.Private WithEvents objExtensibilitySink As iManO2K.iManageExtensibilityPrivate WithEvents objEditProfileCmdSink As IMANEXTLib.EditProfileCmdPrivate WithEvents objIManFileSaveCmdSink As MANEXT2Lib.IManFileSaveCmdPrivate WithEvents objNewVersionCmdSink As IMANEXTLib.NewVersionCmdPrivate Sub objNewVersionCmdSink_PreOnOK(ByVal pMyInterface As Object) MsgBox "Post ok new version"End Sub We are using Filesite 8.2 SP1.Can anyone shed some light on the correct events?regards
Thanks jny. We are using Excel 2003. Attached is a cut down version of the .xla with just the necssary parts. I have removed the actual footer code as this part is working and for now just showing a message box.cheers
Private WithEvents objExtensibilitySink As iManO2K.iManageExtensibilityPrivate WithEvents objEditProfileCmdSink As IMANEXTLib.EditProfileCmdPrivate WithEvents objNewVersionCmdSink As IMANEXTLib.NewVersionCmd'Legacy importPrivate WithEvents objImportCmdSink As IMANEXTLib.ImportCmd'EAI importPrivate WithEvents objIManFileSaveCmdSink As IMANEXT2Lib.IManFileSaveCmdPrivate Sub objExtensibilitySink_OnCreateNewVersion( _ ByVal objNewVersionCmd As Object) Set objNewVersionCmdSink = objNewVersionCmdEnd SubPrivate Sub objExtensibilitySink_OnEditProfile( _ ByVal objEditProfileCmd As Object) Set objEditProfileCmdSink = objEditProfileCmdEnd Sub'Legacy SavePrivate Sub objExtensibilitySink_OnCreateNewProfile( _ ByVal objImportCmd As Object) Set objImportCmdSink = objImportCmdEnd Sub'EAI SavePrivate Sub objExtensibilitySink_OnIManFileSave(ByVal objIManFileSaveCmd As Object) Set objIManFileSaveCmdSink = objIManFileSaveCmdEnd Sub