PC Review


Reply
Thread Tools Rate Thread

How to change debug.print font?

 
 
joeu2004
Guest
Posts: n/a
 
      14th Feb 2008
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)?

 
Reply With Quote
 
 
 
 
joeu2004
Guest
Posts: n/a
 
      14th Feb 2008
On Feb 13, 4:46*pm, joeu2004 <joeu2...@hotmail.com> 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? ;-> ;->).
 
Reply With Quote
 
Chip Pearson
Guest
Posts: n/a
 
      14th Feb 2008
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" <(E-Mail Removed)> wrote in message
news:4ee797f3-d8cb-4d40-bb1d-(E-Mail Removed)...
> 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)?
>


 
Reply With Quote
 
Dave Peterson
Guest
Posts: n/a
 
      14th Feb 2008
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 <joeu2...@hotmail.com> 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
 
Reply With Quote
 
Dave Peterson
Guest
Posts: n/a
 
      14th Feb 2008
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 <joeu2...@hotmail.com> 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
 
Reply With Quote
 
joeu2004
Guest
Posts: n/a
 
      14th Feb 2008
On Feb 13, 5:26*pm, "Chip Pearson" <c...@cpearson.com> 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 With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Print font size doesn't change?? =?Utf-8?B?UmV4?= Windows Vista Mail 2 14th Jun 2007 01:11 AM
Change Print Font SIZE =?Utf-8?B?SmF5?= Microsoft Outlook Printing 0 6th Nov 2006 06:45 PM
Change print font? Carmen Gauvin-O'Donnell Microsoft Outlook Printing 2 2nd Nov 2006 11:38 PM
how do I change the font in the calendar so it'll print larger =?Utf-8?B?Q29tZWR5YWly?= Microsoft Outlook Calendar 0 30th Dec 2005 12:39 AM
i can change the font on the screen to be large but can't print t. =?Utf-8?B?dGo=?= Microsoft Excel Misc 1 18th Nov 2004 05:53 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 12:35 AM.