How Can I Increase the Font Size of VBA Code in Subroutine Modules for Easier Reading?

Eric Huff 0 Reputation points
2023-06-17T14:29:33.74+00:00

The vba code in the modules (subroutines) is too small to read. How do I make it larger so I can see it easier? The VBA version is whatever the version of Excel uses. The Excel version is "Excel for Microsoft 365".

Microsoft 365 and Office Development Other
Microsoft 365 and Office Excel For business Windows
{count} votes

5 answers

Sort by: Most helpful
  1. Tanay Prasad 2,250 Reputation points
    2023-06-19T05:54:30.1766667+00:00

    Hi Eric,

    Here's how you can do it:

    • Open the VBA editor by pressing Alt+F11 or going to the "Developer" tab and clicking on the "Visual Basic" button.
    • In the VBA editor, go to the "Tools" menu and select "Options."
    • In the "Options" dialog box, navigate to the "Editor Format" tab.
    • Under the "Font" section, choose a larger font size from the "Size" drop-down list. You can select a size that makes the code more readable for you.

    Best Regards.

    1 person found this answer helpful.

  2. Anonymous
    2023-06-17T14:52:51.4733333+00:00

    Tools\Options\Editor Format may work for you.

    0 comments No comments

  3. Anonymous
    2023-06-17T15:21:07.71+00:00

    It may not work unless the operating system's Scale Layout is set to 100%

    User's image

    you can also provide this as feedback here.

    feedback

    -

    --please don't forget to upvote and Accept as answer if the reply is helpful--


  4. Anonymous
    2023-06-19T13:43:32.17+00:00

    sorry to say those steps have no effect on my font size.

    The steps I posted are the only method. If it does not work then you can reach out to support or report the feedback for this bug.

    please don't forget to close up the thread here by marking answer.


  5. Stewart, Scott (JS) 1 Reputation point
    2024-09-10T13:10:38.3466667+00:00

    These steps do not work. Change the size all you want and it just reverts to the same old size 9 as soon as you click OK.

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.