Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2,059
Default How to change debug.print font?

From the Debug object Print method Help page:

"[...T]he Print method typically prints with proportionally-spaced
characters [...]. [...Y]ou can print using a fixed-pitch font (such
as Courier)".

How can I change the font to Courier (or anything else)?

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2,059
Default How to change debug.print font?

On Feb 13, 4:46*pm, joeu2004 wrote:
From the Debug object Print method Help page:

"[...T]he Print method typically prints with proportionally-spaced
characters [...]. *[...Y]ou can print using a fixed-pitch font (such
as Courier)".

How can I change the font to Courier (or anything else)?


Well, I'm still interested in the answer.

But the Print method is already printing in a non-proportional font
(either Courier or Terminal; I cannot tell). So either the Print
method help page is wrong (so what else is new? ;-), or I figured out
or someone told me long ago how to change the font, and I have forgot
(so what else is new? ;- ;-).
  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 35,218
Default How to change debug.print font?

Inside the VBE:
Tools|Options|Editor format
Changing the font here changed the immediate window and the code window.

Courier New (Western)
Was mine--just in case you change and can't remember.



joeu2004 wrote:

On Feb 13, 4:46 pm, joeu2004 wrote:
From the Debug object Print method Help page:

"[...T]he Print method typically prints with proportionally-spaced
characters [...]. [...Y]ou can print using a fixed-pitch font (such
as Courier)".

How can I change the font to Courier (or anything else)?


Well, I'm still interested in the answer.

But the Print method is already printing in a non-proportional font
(either Courier or Terminal; I cannot tell). So either the Print
method help page is wrong (so what else is new? ;-), or I figured out
or someone told me long ago how to change the font, and I have forgot
(so what else is new? ;- ;-).


--

Dave Peterson
  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 35,218
Default How to change debug.print font?

After reading Chip's response, I see that I left out the "choose Normal text"
instruction.



Dave Peterson wrote:

Inside the VBE:
Tools|Options|Editor format
Changing the font here changed the immediate window and the code window.

Courier New (Western)
Was mine--just in case you change and can't remember.

joeu2004 wrote:

On Feb 13, 4:46 pm, joeu2004 wrote:
From the Debug object Print method Help page:

"[...T]he Print method typically prints with proportionally-spaced
characters [...]. [...Y]ou can print using a fixed-pitch font (such
as Courier)".

How can I change the font to Courier (or anything else)?


Well, I'm still interested in the answer.

But the Print method is already printing in a non-proportional font
(either Courier or Terminal; I cannot tell). So either the Print
method help page is wrong (so what else is new? ;-), or I figured out
or someone told me long ago how to change the font, and I have forgot
(so what else is new? ;- ;-).


--

Dave Peterson


--

Dave Peterson
  #5   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 7,247
Default How to change debug.print font?

I believe you have to change the font assigned to "Normal Text". In the VBA
editor, go to the Tools menu, choose Options, then the Editor Format tab.
There, select "Normal Text" in the Code Colors ListBox. Then, change Font to
"Courier New (Western)". I would hate to have to program in a proportional
font. You will likely want make sure all the text types are set to Courier
New.


--
Cordially,
Chip Pearson
Microsoft Most Valuable Professional
Excel Product Group, 1998 - 2008
Pearson Software Consulting, LLC
www.cpearson.com
(email on web site)


"joeu2004" wrote in message
...
From the Debug object Print method Help page:

"[...T]he Print method typically prints with proportionally-spaced
characters [...]. [...Y]ou can print using a fixed-pitch font (such
as Courier)".

How can I change the font to Courier (or anything else)?




  #6   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2,059
Default How to change debug.print font?

On Feb 13, 5:26*pm, "Chip Pearson" wrote:
I believe you have to change the font assigned to "Normal Text".
In the VBA editor, go to the Tools menu, choose Options, then
the Editor Format tab. There, select "Normal Text" in the Code
Colors ListBox. Then, change Font to "Courier New (Western)".


Bingo! Thanks Dave and Chip for reminding me.
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Excel 2007 quits when trying to change font or print. jchungmd Excel Discussion (Misc queries) 6 July 1st 08 02:10 AM
Debug.Print convert vba PST Excel Programming 9 August 13th 07 06:46 PM
question about debug.print Gary Keramidas[_4_] Excel Programming 4 September 29th 05 01:14 AM
Debug.Print in a WITH procedure? Toby Erkson[_3_] Excel Programming 4 December 15th 04 10:05 PM
Debug.Print ExcelMonkey[_80_] Excel Programming 1 February 6th 04 04:04 PM


All times are GMT +1. The time now is 05:36 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"