We have a “special character” floating palette that we use in Outlook. I want to restrict the display of this to HTML email messages. I am using the following code to exclude Plain Text emails:
If ActiveInspector.EditorType olEditorHTML Then
Regardless of the setting for formatting email messages (File|Options|Mail), the above statement always proves TRUE (i.e. NOT an HTML message).
? ActiveInspector.EditorType
in the Immediate Window always returns 4 (olEditorWord). I suppose that is because Word is always the editor in Outlook 2010. I’m looking to determine the text mode as indicated in the title bar of the inspector (HTML, Plain Text, RTF).
Maybe I’m not using the correct test criteria (Outlook 2010). My Outlook VBA skills are limited. Can someone assist?
Many thanks.