Today's Lazy Programmer provides an answer for Martin, who asked how to change the font in the Notes field only in Contacts, but not in the other Outlook items types. He also wants to change the font used with existing Contact items. When you change the font in Options Mail Stationery and Fonts, the change is applied to all new Outlook items. Martin wants to use a one font for contacts and another for his email and other Outlook items. (Sticky notes have their own font settings and don't use Word as the editor.). One option is to use custom stationery for your email messages.
While this works fine if you want to use one font for everything except email, since Outlook now uses Word as the email editor, you can use Word VBA to change the font in the notes field in any new item type except email and sticky notes. This code sample shows you how. This works on new items only, it will not change the font in existing items.
I'm starting with Michael Bauer's code sample and adding a few lines to set the font. Now when I open any new Outlook item (but not a new message or sticky note), the body font is changed. In my example (so we can easily see that it works), I'm using Wingdings (and size 18 font). Replace it with a font name as seen in the Font selector.
If we send internal mail, fonts are 100%. If we reply to an external email sometimes it is 100% but other times our font has been changed to Times Roman. All obvious settings have been looked at, in Outlook, Internet options, the defaults templates for email (.dotm) etc. Apr 02, 2017 The default font for new mail, replies/forwards, and plain text is set at Calibri 11. When I change this to Calibri 12 in Outlook/Preferences the change holds until I exist out of Outlook. When I re-launch Outlook the font defaults back to Calibri 11 for all email types.
(You can use lower case names as the font name is not case-sensitive.) This is an ApplicationStartup macro. Paste it into ThisOutlookSession and set a reference to the Microsoft Word Object Library in Tools, References. To test it without restarting Outlook you'll need to click in ApplicationStartup and click the Run button. Oh, and macro security needs to be set to Low during testing and the macro signed once you're satisfied with it.
![For For](/uploads/1/2/5/3/125394467/683406685.png)
Has more information if you are new to VBA. New item type Object class name Appointments olAppointment Contacts olContact Journal olJournal Message olMail Note (sticky note) olNote Post olPost Tasks olTask Change the formatting of selected items This code changes the font in the body of selected appointment, contact, or task items.
To use, select the items (it's easier to use a list view, especially for appointments) then run the code. Each item will quickly open then close as Outlook makes the changes. I recommend selecting some items, then Ctrl+C, V to create a copy of the items for testing. Diane, thanks for this resource.
I've used several of your code items suggestions in the past. I recently exported all my contacts to excel. Made a bunch of changes to them (found it easier to do the mass changes that way) and then loaded them back up. Unfortunately, the formatting for the 'Notes' area of the contact has changed for some reason. I need to have some code that goes through all the records and set just the 'Notes' area to a set font type, size and default black color. I tried going through the code you posted in this area but I couldn't piece it all together. Can you help?
I love that these solutions are available, Diane. I have tried running the first macro and get and complie error: Block if without End if which then highlights the line above in the code called: Private Sub mInspectorActivate.
Perhaps I am missing a step or have done something wrong? I am trying to clean up the changed font in my Contacts' Notes fields which I think is happening when I use iCloud to sync with my iPhone. They are appearing as Calibri again even when I have individually set them to Arial 8. Very odd to me.
I have made changes to my Inbox View but also want to have these changes in all my other folders. Do I have to change them one by one? No, there is no need to do that. Outlook has a feature to copy the current View of a folder to other folders. As an alternative, you can also modify the default View template in Outlook or define a View templates of your own to easily apply changes to multiple folders at once or when you access the folder. Apply Current View to Other Mail Folders command Outlook has a feature called “Apply Current View to Other Mail Folders” which allows you to copy the View of a folder to another folder without needing to make a View template first as explained further below.
You can access this feature via;. tab View- button Change View- Apply Current View to Other Mail Folders When you select the top folder (enabled by default) and the option “Apply view to subfolders”, you’ll apply the View to all your mail folders at once. Copying View settings to other folders via the Apply View dialog. Note: The feature automatically hides special folders such as Sent Items, Drafts and Junk E-mail. This is because these folders have special Views of their own. Alternative method: Managing and Defining Views As an alternative method, or when using Outlook 2007 as it doesn’t contain the Apply View feature, you can customize the default “Compact” or “Messages” view or define your own view.
When you customize this default View, all folder that are also using this View will also change. The same applies when you have defined a View of your own and have applied that to various folders. Depending on your version of Outlook, you can access your defined View templates in the following way;. Outlook 2007 View- Current View- Define Views. Outlook 2010 / 2013 / 2016 / 2019 / Office 365 tab View- button: Change View- Manage Views You can then choose to copy or modify an already existing view or press the New button to define a View of your own.
Manage All Views dialog in Outlook. Alternative method: How it works As mentioned, by default, all folders and newly created folders are in the “Compact” or “Messages” View (except for the Sent Items folder which is in the “Sent To” view). When you make changes to this View, it will automatically also apply these changes to all the folders that are still in the default “Compact” or “Messages” View.
If the View of some folders have already been altered, then making changes to the default “Compact” or “Messages” View will not alter the View settings of these folders. In that case, you can use the “Apply Current View to Other Mail Folders” feature as mentioned above. For previous versions of Outlook, you can reset your Views first or create a Custom View template and apply it on first use of that folder. See further below for details. Alternative method: Troubleshooting It might be that you’ve already modified the View for some individual folders. This could be even something simple as modifying the column size. In these cases you will find that changes to the default “Compact” or “Messages” view will not apply to these folders.
To prevent this from happening, you can force a reset on all the folders by starting Outlook with the /cleanviews switch;. Windows 7 Start- type: outlook.exe /cleanviews. Windows 8 Start Screen- type: outlook.exe /cleanviews. Windows 10 Start- type: outlook.exe /cleanviews Note: There is a space between outlook.exe and /cleanviews This will reset all defined Views back to default, clears Custom Views and will apply the default Views to all folders (Inbox, subfolders, Sent Items, Contacts, Calendar, Notes, Tasks and Journal). If you have many Custom Views already which you’d like to keep, you probably don’t want to do this. In this case you can define a new View and simply apply that View on first use of a folder.
This is less cumbersome than defining the View per folder. Starting Outlook with the /cleanviews switch on Windows 7. Last modified: November 21, 2018.