

Will be looking like plain text, but it is not. So I want to display this entire HTML text virtually as Plain Text with Font as Consolas and Font Size as 10.5. Suppose the message is composed using Plain Text Format, my macro displays it as HTML text after the entire processing has been completed. The HTML body property of the mailitem body works good when the message is composed using HTML as the format.No question on this part. Please remember to mark the replies as answers if they help and unmark them if they provide no help. MSDN Community Support | Feedback to us Get or Request Code Sample from Microsoft Is there only have one paragraph? Or several paragraphs in your mail item’s body? Do them have different style? Is there use one font size in your mail item’s body, or different part will use different font size?ģ.

I think you need show me more details about your goal, for example:ġ. What you mean of “entire body”? It’s based on my understanding that you want to change the whole mail body’s font style, 'How to change the font size and type here? Set RegX = CreateObject("VBScript.RegExp") If objMail.BodyFormat = olFormatPlain Then Sub IncomingHyperlink(MyMail As MailItem)
#How to increase font size in outlook app how to
How to change the font type in HTML inside a VBA code? So I want to change the font name to Consolas and font Size to 10.5 so that it will be virtually looking like plain text, but it is not actually plain text.I do not want to convert it as plain text because, my replaced hyperlinks will get lost.

Whenever I have a plain text in the message it executes the script and displays it in HTML format rather than displaying it in plain text format. Whenever I have a html text in the message it executes the script and displays it in HTML format I am using VBA to process an incoming message based on a rule.
