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)
Outlook open, code to update footer doesn't run.
aliank
Hi experts,
need some help here. I am currently using Worksite version 8.2.188. User are using document template to create their documents and in the document it contains macro that will update the footer with document version.
Strangely when Outlook is not open, when user run microsoft word and open document in worksite, the AutoOpen procedure in the template can initiate the IManageExtensibility object and update the footer.
But if outlook is started first and when user double click the dms document in filesite, the AutoOpen procedure will no longer run.
this is the code used:
Public Sub AutoNew()
Dim objIManageExtensibility as iManO2K.iManageExtensibility
Set objIManageExtensibility =
Application.COMAddIns("iManO2K.AddinForWord2000").Object
Set objSinkObject = new SinkObject
ObjSinkObject.SinkIManageExtensibility objIManageExtensibility
End Sub
How do we solve the problem ya?
thank you,
aliank
Find more posts tagged with
Comments
ItayZohar
you need to remove the 2 check boxes of use microsoft woed as email editor and use microsoft word to read reach text...
then it will work fine
hope it will help
Itay Zohar
aliank
hi Itay,
Thanks a lot for your reply. But user insist to use the winword as email editor. any other work around?
pennyg
Hi, there are some posts on Microsoft about this - its a known issue that automacros don't run if Outlook is opened before Word when using Word as the email editor. According to Microsoft this is 'by design' The fix that worked for me is to ensure Word is opened first by putting it in Windows startup.
Hope this helps
Penny