VBOffice

Change the Font of a Folder View

Do you want to change the view font of the current folder? This example works for Outlook 2007 and up.

Last modified: 2012/02/22 | Accessed: 12.691  | #92
◀ Previous sample Next sample ▶
Reporter Reporter
VBOffice Reporter is an easy to use tool for data analysis and reporting in Outlook. A single click, for instance, allows you to see the number of hours planned for meetings the next month.

Do you want to change the view font of the current folder? This example works for Outlook 2007 and up:


tip  How to add macros to Outlook
Sub ChangeFolderViewFont()
  Dim Tv As Outlook.TableView
  Dim Font$

  Font = "Segoe UI"
  Set Tv = Application.ActiveExplorer.CurrentFolder.CurrentView
  Tv.AutoPreviewFont.Name = Font
  Tv.ColumnFont.Name = Font
  Tv.RowFont.Name = Font
  Tv.Apply
  Tv.Save
End Sub
ReplyAll ReplyAll
ReplyAll alerts you before unintentionally replying all, or if you are a confidential BCC recipient of the e-mail.
email  Send a message