I wrote an outlook addin which adds a toolbar to the email message when its openened. It's working fine. However when the user changes the properties of outlook to "Use Microsoft word to edit e-mail messages" the code breaks out with the following error:
RUntime error -2147467259 (80004005)
Object Variable or with Block variable not set
THe line that it errors out on is:
I thinks it has something to do with the fact that it is bringing in the word toolbar...VB Code:
Set myCommandbar = myInspector.CommandBars.Add("AddinBarI")
ANy ideas..
Thanks


Reply With Quote