A family of Microsoft spreadsheet software with tools for analyzing, charting, and communicating data.
In the Visual Basic Editor, select Tools > Options...
Activate the Editor Format tab of the dialog.
You can select the font and font size here, as well as the colors used for various code elements.
Thank you for your reply.
Of course, this is the first thing I did and didn't work. This change is not saved. I have contacted Microsoft support and apparently, there is no solution. This is weird because this problem has been there for years and Microsoft hasn't resolved this error. I have found this issue in posts from 2018 even earlier.
Manuel