I recently wrote a simple Outlook macro for a group of users at my firm who need particular text added to any email message they send to the group. I gave them custom signatures because the text needed to be formatted when using RTF or HTML without loosing the formatting of the existing body. My macro is in the Application_ItemSend macro. To insert the signature if the message passes the criteria I used the code
Item.GetInspector.CommandBars.Item("Insert").Controls("Signature").Controls("Confidential MacroInsert").Execute
This works perfectly on my computer but, of course, has a problem when installed elsewhere. On my computer the "signature" is inserted at the beginning of the body, before the text. Not the usually place for a signature I know but exactly what I needed. On other users' computers the signature is inserted at the end of the document. I can not find any settings that are different.
Any ideas on what might be different or how I can control where the signature is placed?
Thank you in advance for any ideas.
Item.GetInspector.CommandBars.Item("Insert").Controls("Signature").Controls("Confidential MacroInsert").Execute
This works perfectly on my computer but, of course, has a problem when installed elsewhere. On my computer the "signature" is inserted at the beginning of the body, before the text. Not the usually place for a signature I know but exactly what I needed. On other users' computers the signature is inserted at the end of the document. I can not find any settings that are different.
Any ideas on what might be different or how I can control where the signature is placed?
Thank you in advance for any ideas.