How to change font of a block in an RTF message?

A

andrew.fabbro

I have some VBA code I've written insert a signature with a random
quote from a quotes file into an email. I'd like it to be in
fixed-width font (Courier). If the message is in Plain Text, no
problem. If it's in HTML, I can insert a <font>. If it's in
RTF...hmmm...?

I don't use Word for an editor, but there are a lot of Rich Text
message flying around the office. I can test if I'm in RTF mode easily
enough, but I can't figure out how to say "put the next few lines in
Courier". Ideas?

Thanks.
 
S

Sue Mosher [MVP-Outlook]

See http://www.outlookcode.com/d/formatmsg.htm

Redemption's SafeInspector would be the easiest approach to code.

--
Sue Mosher, Outlook MVP
Author of Configuring Microsoft Outlook 2003

and Microsoft Outlook Programming - Jumpstart for
Administrators, Power Users, and Developers
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top