• Skip to main content
  • Skip to primary sidebar
  • Skip to footer

Outlook Tips

Learning Microsoft Outlook One Tip At A Time

Outlook 2013 Absolute Beginner's Guide Diane Poremsky [Outlook MVP]

  • Home
  • Tips Archive
  • How to...
  • Beginner
  • Outlook.com

Tip 959: Changing the Font used for Outlook's RSS Feeds

Note: this works only in Outlook 2010 as written, because Outlook 2007 does not support PostItem in Run a Script. We're working on a version for Outlook 2007 that uses ItemAdd handler. We have a code sample that works on RSS feeds delivered to a single folder at Slipstick.com.

Today's tip is one that I expect only a few people will care about… heck, it's not something that I would bother with myself. But a user asked about it and thought up a possible solution, then Outlook Developer MVP Michael Bauer of //vboffice.net/ supplied the code to make it work.

The user's problem:

I don't like reading Calibri 11 in (some of) my received emails and RSS feeds.

He tried all the usual solutions to change the font, none of which worked. I looked into it and discovered that the font used for RSS feeds is hard-coded and users can't change it.

The message source shows the font:

<style><!-- body {font-family:"Calibri";} --></style>

And a run a script rule can easily change it.

ChangeItem Font Script

To use, open the VB Editor (Alt+F11) and paste the following code into ThisOutlookSession.

 Public Sub ChangeFont(Item As PostItem)
   Dim b$, NewFont$, OldFont$
   
   NewFont = "{font-family:" & Chr(34) & "Times New Roman" & Chr(34) & ";}"
   
   OldFont = "{font-family:" & Chr(34) & "Calibri" & Chr(34) & ";}"
   b = Item.HTMLBody
   b = Replace(b, OldFont, NewFont, , , vbTextCompare)
   Item.HTMLBody = b
   Item.Save
 End Sub
 

Create a Rule that applies to any RSS feed, with the Run a Script action, selecting the ChangeFont macro.

Run a Script rule for RSS feeds

As new RSS feeds arrive, the font will be changed from Calibri the font of your choosing (Times New Roman, in our sample).

Changing Email Fonts

Can you use this code to change the fonts on incoming email messages? Yes, but it will be hit-or-miss as each client uses different, often multiple, font-families.

You will need to change "(Item As PostItem)" to "(Item As MailItem)" and get the correct line for the OldFont from the message source and format the NewFont appropriately.

Published February 22, 2012. Last updated on May 3, 2017.

Share this:

  • Twitter
  • Facebook
  • LinkedIn
  • More
  • Print
  • Tumblr
  • Reddit
  • Pocket
  • Pinterest

Related posts:

Set the body styleTip 875: How to change the +Body style font in Outlook Tip 894: Changing Folder and Message List Fonts attachment iconChanging Outlook's Reply Format Navigation pane buttonTip 922: Changing the Navigation Pane Font
Subscribe
Notify of
0 Comments
Inline Feedbacks
View all comments

Primary Sidebar

Subscribe to Outlook Tips by Email

Search OutlookTips

Training and one-on-one assistance

Do you need help setting up Outlook or want some one-on-one training? I'm available for hire. See Training and one-on-one assistance for fees and to check availability.

Popular Posts this Week

  • Where is File tab in Outlook?
    Where is File tab in Outlook?
  • How to Reset the View on Outlook folders
    How to Reset the View on Outlook folders
  • How to bulk move Outlook folders
    How to bulk move Outlook folders
  • Understanding Tasks and To-Do List
    Understanding Tasks and To-Do List
  • Change or cancel meetings without sending update messages
    Change or cancel meetings without sending update messages
  • Icons found in the Inbox, Message Headers, and Toolbars
    Icons found in the Inbox, Message Headers, and Toolbars
  • Outlook's Calendar and Task Icons
    Outlook's Calendar and Task Icons
  • How to Find Folder Paths in Outlook Mailboxes
    How to Find Folder Paths in Outlook Mailboxes
  • iCloud Contacts are not showing in Address Book
    iCloud Contacts are not showing in Address Book
  • Tip 160: This Machine Only Rule
    Tip 160: This Machine Only Rule

All-Time Most Popular Posts

  • Windows 7 and Vista Start Search field
    How to start Outlook in safe mode
  • outlook.com icon
    Delete a message stuck in Outlook's Outbox
  • How to use Outlook's Command line switches
  • Use Cleanviews switch to reset all views
    How to Reset the View on Outlook folders
  • Where are my Outlook Files?
  • Folder paths
    How to Find Folder Paths in Outlook Mailboxes
  • How to use Scanpst.exe to repair Outlook data files
  • Outlook's Missing Holidays
  • open an outlook data file
    Open an existing personal data file (*.pst) in Outlook
  • Creating rules that apply to an entire domain
Privacy & Cookies: This site uses cookies. By continuing to use this website, you agree to their use.
To find out more, including how to control cookies, see here: Cookie Policy

Footer

Recent Posts

  • Outlook on the web Quick Actions moved to the right
  • Automatically sign out of Outlook.com
  • Quick Actions in Outlook
  • Outlook Autocomplete Bug
  • Outlook on the web Address Book sort order

Recent Bug List

Microsoft keeps a running list of issues affecting recently released updates at Fixes or workarounds for recent issues in Outlook for Windows.

Office Update History

Update history for supported Office versions is at Update history for Office

Resources

Ask questions and share your knowledge in Outlook Forums.

Translate

You Might Like

Where is File tab in Outlook?
Using Two-factor authentication
Where are my Outlook Files?
How to use Outlook's Command line switches

© 2003–2022 ยท Outlook Tips

wpDiscuz
You are going to send email to

Move Comment