A Microsoft Outlook email forum. Outlook Banter

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » Outlook Banter forum » Microsoft Outlook Email Newsgroups » Outlook and VBA
Site Map Home Register Authors List Search Today's Posts Mark Forums Read Web Partners

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



 
 
Thread Tools Search this Thread Display Modes
  #1  
Old July 19th 06, 10:11 PM posted to microsoft.public.outlook.program_vba
Sue Mosher [MVP-Outlook]
external usenet poster
 
Posts: 11,651
Default How to change font of a block in an RTF message?

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
http://www.turtleflock.com/olconfig/index.htm
and Microsoft Outlook Programming - Jumpstart for
Administrators, Power Users, and Developers
http://www.outlookcode.com/jumpstart.aspx

wrote in message ups.com...
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.

 




Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Inserting Links into a RTF Message Rohan Salt Outlook and VBA 1 July 19th 06 06:53 PM
Inserting RTF Text in a Message Body Ridge Kennedy Outlook and VBA 4 April 12th 06 03:29 PM
Macro to change font of selected text in mail message? Joe HM Outlook and VBA 1 April 6th 06 06:06 PM
sending rtf,doc,text as message body in outllook 2003 in vb.net Digit Solver Outlook - Using Forms 3 March 31st 06 03:37 PM
block message doesn't work well Lisa Outlook Express 3 January 17th 06 06:33 PM


All times are GMT +1. The time now is 02:45 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.Search Engine Friendly URLs by vBSEO 2.4.0
Copyright ©2004-2025 Outlook Banter.
The comments are property of their posters.