Share via

MsgBox font?

Anonymous
2010-08-22T02:37:37+00:00

How can I control used for VBA MsgBox?

It appears to be a proportional font.

I would like to select a non-proportional font, e.g. Courier New.

I am using VBA 6.5.1024 with Office Excel 2003 SP3.

Microsoft 365 and Office | Excel | For home | Windows

Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question.

0 comments No comments

Answer accepted by question author

  1. Anonymous
    2010-08-22T02:42:45+00:00

    The font used in the dialog box is universal for all dialog boxes in Windows. You can change the font in the "Windows Color and Appearance" settings dialog; but, again, remember, this affects all of Windows and the applications that run on it.

    Another option is to create your own dialog box by using a UserForm laid out the way you want and Show that wherever you would now call your current dialog box.

    6 people found this answer helpful.
    0 comments No comments

1 additional answer

Sort by: Most helpful
  1. Anonymous
    2010-08-22T03:47:11+00:00

    Rick Rothstein wrote:

    The font used in the dialog box is universal for all dialog boxes in Windows.

    [....]

    Another option is to create your own dialog box by using a UserForm

    Thanks.

    0 comments No comments