Consulting

Results 1 to 2 of 2

Thread: How does one change the font in Outlook with VBA?

  1. #1

    How does one change the font in Outlook with VBA?

    I'm using external software to execute this font change (AutoHotkey).

    I had some help to get this done in Microsoft Word. Here is part of the code I believe to be relevant for Office (Microsoft Word at least) :

    oWord := ComObjActive("Word.Application") font := oWord.Selection.Font.Name oWord.Selection.Font.Name := "Segoe UI Symbol"

    I assumed the operation would be similar in Outlook, but I'm not knowledgeable enough to know how to alter the code to make it work in Outlook. Perhaps I'm going about this all wrong?

    Any help would be greatly appreciated. Cheers.

  2. #2
    VBAX Mentor
    Joined
    Nov 2022
    Location
    The Great Land
    Posts
    337
    Location
    How to attach file: Reading and Posting Messages (vbaexpress.com), click Go Advanced below post edit window. To provide db: copy, remove confidential data, run compact & repair, zip w/Windows Compression.

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •