Increase text size in the VBE code window

BilasTasol
NewLounger
Posts: 24
Joined: 09 Feb 2010, 17:25
Location: Rhondda Cynon Taff, S. Wales

Increase text size in the VBE code window

Post by BilasTasol »

Hi:

I am trying to increase the size of text in the VBE code window thru the options menu, but nothing happens . Any suggestions, please?

Tony.
Regards,

Tony.

http://www.sylviahugheswilliams.com" onclick="window.open(this.href);return false;

YasserKhalil
PlatinumLounger
Posts: 4911
Joined: 31 Aug 2016, 09:02

Re: Increase text size in the VBE code window

Post by YasserKhalil »

Tools > Options > Editor Format tab > Size (select the size you desire)

BilasTasol
NewLounger
Posts: 24
Joined: 09 Feb 2010, 17:25
Location: Rhondda Cynon Taff, S. Wales

Re: Increase text size in the VBE code window

Post by BilasTasol »

Thanks YasserKhalil for your reply. Unfortunately, that's exactly what I am already doing - and it has no effect on the code window.
Regards,

Tony.

http://www.sylviahugheswilliams.com" onclick="window.open(this.href);return false;

YasserKhalil
PlatinumLounger
Posts: 4911
Joined: 31 Aug 2016, 09:02

Re: Increase text size in the VBE code window

Post by YasserKhalil »

Try to reset the VBE settings using the registry in windows.

User avatar
HansV
Administrator
Posts: 78241
Joined: 16 Jan 2010, 00:14
Status: Microsoft MVP
Location: Wageningen, The Netherlands

Re: Increase text size in the VBE code window

Post by HansV »

To expand on YasserKhalil's reply:
Quit all Office applications.
Click the Start button in Windows, type regedit and press Enter.
Navigate to HKEY_CURRENT_USER\SOFTWARE\Microsoft\VBA\7.1\Common.
In the right-hand pane, delete the entries FontCharset, FontFace and FontHeight.
They should automatically be recreated next time you start the Visual Basic Editor.

S0281.png
You do not have the required permissions to view the files attached to this post.
Best wishes,
Hans

BilasTasol
NewLounger
Posts: 24
Joined: 09 Feb 2010, 17:25
Location: Rhondda Cynon Taff, S. Wales

Re: Increase text size in the VBE code window

Post by BilasTasol »

Fortunately, I spotted:

"Can't change vba project font size"
by Jeff H » 31 Oct 2017, 20:2

further down the topics list, and followed that advice from HansV:

Windows, in Start > Settings > System > Scale & layout > Change size of text

It was set to 300%, I changed it to the recommended 200%, which worked fine for the problem of setting the VBE code font size to 12pt. Unfortunately, with the current laptop display setting of 3000 x 2000 (recommended), everything was far too small, but changing it to 1920 x 1280 did the job.

Old eyes!
Regards,

Tony.

http://www.sylviahugheswilliams.com" onclick="window.open(this.href);return false;

User avatar
HansV
Administrator
Posts: 78241
Joined: 16 Jan 2010, 00:14
Status: Microsoft MVP
Location: Wageningen, The Netherlands

Re: Increase text size in the VBE code window

Post by HansV »

:thumbup:

(That was the next thing I was going to suggest)
Best wishes,
Hans