Is it possible to increase the font size of message box in Access 2013 via vba code?
From this
to this
Some users are over 40 years old. They require a bigger size of font for viewing. Thanks!
Is it possible to increase the font size of message box in Access 2013 via vba code?
From this
to this
Some users are over 40 years old. They require a bigger size of font for viewing. Thanks!
The font size of system error boxes is a system control and would need to be changed on all individual computers.
You could instead trap the error in VBA and display your own messages via a UserForm, which would allow you to control the message and the font.
So, instead of
You would have the following:
Where
frm_AlreadyExists
is a form that you would create and would have the message you listed above.That should get you started. As a further step, instead of having a separate
UserForm
for each error, you could create an error table that would containError ID
,Error Message
,Error Type
,Error Title
columns.Then you would call the
UserForm
with the following:And the code to initialize the
UserForm
(in the UserForm code module)And the code for the button click
With this and some tweaking and messing with code, you can now have a custom error/message system that would allow you (or even the user) to set the font for the messages.