daviddoria 334 Posting Virtuoso Featured Poster

If I go to:

view -> arrange by -> current view -> customize current view -> other settings

I can change the "row font" size for the current folder. If I have 100 folders and I want to change the font size for the messages in all of them, you can see how this would get obnoxious. Is there a way to change the "global default row font size"?

Thanks,

David

Dani AI

Generated

— Outlook 2003 does not expose a single global "row font" switch. View settings are stored per folder (or per folder type), so the practical choices are: create one custom view and apply it across folders, make a view available to all mail folders, or script the change with VBA. (slipstick.com)

Create a named Table view with the row font you want and make it available to all mail folders (UI: Define/Manage Views → New and choose the scope "All Mail and Post folders", or programmatically use Views.Add with the AllFoldersOfType option). Once saved you can push it to many folders via the "Apply Current View to Other Mail Folders" dialog. For Outlook automation the Views API and the TableView.RowFont property let you set font name/size in code. See Microsoft documentation for creating views and the TableView.RowFont property. (learn.microsoft.com)

A compact VBA example (run after backing up data) to create a table view available to all mail folders and set the row font:

Sub CreateGlobalRowFontView()
  Dim ns As Outlook.NameSpace
  Dim inbox As Outlook.MAPIFolder
  Dim views As Outlook.Views
  Dim tv As Outlook.TableView

  Set ns = Application.GetNamespace("MAPI")
  Set inbox = ns.GetDefaultFolder(olFolderInbox)
  Set views = inbox.Views

  Set tv = views.Add("LargeRowFontAllMail", olTableView, olViewSaveOptionAllFoldersOfType)
  tv.RowFont.Name = "Arial"
  tv.RowFont.Size = 12
  tv.Save
  tv.Apply
End Sub

The RowFont property and the olViewSaveOption constants are documented by Microsoft; test on a small set of folders first. Note: some special system folders (Sent Items, Drafts, Junk) can behave differently when using the UI apply-dialog; using a view scoped to "all mail folders" or /cleanviews (which resets custom views) are common workarounds — but /cleanviews removes all custom views, so back up before using it. (learn.microsoft.com)

Further reading: Microsoft "Create a view" (https://learn.microsoft.com/en-us/office/client-developer/outlook/pia/how-to-create-a-view) and Outlook Tips on resetting views (https://www.outlook-tips.net/beginner-user/reset-the-view-in-outlook/). (learn.microsoft.com)

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.