R
rdrtkd
here is a snippet of code from my outlook vba. it is in the application
ItemSend event. This is for Outlook 2003.
---------------------------------------------------------------------------------------------
..
..
..
If myInsp.IsWordMail = True Then
MsgBox ("outlook editor is word")
Set objWordDoc = myInsp.WordEditor
Set objWordApp = objWordDoc.Application
Set objsel = objWordApp.Selection
' do some modifications to the DOM for the message
ItemSend event. This is for Outlook 2003.
---------------------------------------------------------------------------------------------
..
..
..
If myInsp.IsWordMail = True Then
MsgBox ("outlook editor is word")
Set objWordDoc = myInsp.WordEditor
Set objWordApp = objWordDoc.Application
Set objsel = objWordApp.Selection
' do some modifications to the DOM for the message