Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 11
Default Print VBA code in Editor format colors

I originally posted this question on 8/8/2005 in
microsoft.public.office.developer.officedev.other, but since I still have not
gotten any response, I decided to try again by posting it in this Discussion
Group.

In the Visual Basic Editor under Tools - Options - Editor format, I can
specify the code colors for Normal Text, Comment Text, Keyword Text, etc.
This is a wonderful feature when trying to edit a macro. However, when I
print the code so that I can review it and pencil in edits that I want to
make when I return to my computer, everything is black even though I sent it
to a color printer. IS THERE A WAY TO PRINT THE CODE IN THE SPECIFIED
COLORS? I tried selecting all, copying, and pasting into a Word document in
hopes that it would retain the colors, but it doesn't. Any other ideas?

Sarah Jane
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 27,285
Default Print VBA code in Editor format colors

The vbe does not print in color.

--
Regards,
Tom Ogilvy

"Sarah Jane" wrote in message
...
I originally posted this question on 8/8/2005 in
microsoft.public.office.developer.officedev.other, but since I still have

not
gotten any response, I decided to try again by posting it in this

Discussion
Group.

In the Visual Basic Editor under Tools - Options - Editor format, I can
specify the code colors for Normal Text, Comment Text, Keyword Text, etc.
This is a wonderful feature when trying to edit a macro. However, when I
print the code so that I can review it and pencil in edits that I want to
make when I return to my computer, everything is black even though I sent

it
to a color printer. IS THERE A WAY TO PRINT THE CODE IN THE SPECIFIED
COLORS? I tried selecting all, copying, and pasting into a Word document

in
hopes that it would retain the colors, but it doesn't. Any other ideas?

Sarah Jane



  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 11
Default Print VBA code in Editor format colors

Thanks. I think I'll go post a Suggestion for Microsoft. :^)

Sarah Jane

"Tom Ogilvy" wrote:

The vbe does not print in color.

--
Regards,
Tom Ogilvy

"Sarah Jane" wrote in message
...
I originally posted this question on 8/8/2005 in
microsoft.public.office.developer.officedev.other, but since I still have

not
gotten any response, I decided to try again by posting it in this

Discussion
Group.

In the Visual Basic Editor under Tools - Options - Editor format, I can
specify the code colors for Normal Text, Comment Text, Keyword Text, etc.
This is a wonderful feature when trying to edit a macro. However, when I
print the code so that I can review it and pencil in edits that I want to
make when I return to my computer, everything is black even though I sent

it
to a color printer. IS THERE A WAY TO PRINT THE CODE IN THE SPECIFIED
COLORS? I tried selecting all, copying, and pasting into a Word document

in
hopes that it would retain the colors, but it doesn't. Any other ideas?

Sarah Jane




  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 27,285
Default Print VBA code in Editor format colors

Just some added:

http://support.microsoft.com/default...b;en-us;213191
XL2000: Modules Cannot Be Printed in Color

http://support.microsoft.com/default...b;en-us;173083
Modules Cannot Be Printed in Color

--
Regards,
Tom Ogilvy

"Sarah Jane" wrote in message
...
Thanks. I think I'll go post a Suggestion for Microsoft. :^)

Sarah Jane

"Tom Ogilvy" wrote:

The vbe does not print in color.

--
Regards,
Tom Ogilvy

"Sarah Jane" wrote in message
...
I originally posted this question on 8/8/2005 in
microsoft.public.office.developer.officedev.other, but since I still

have
not
gotten any response, I decided to try again by posting it in this

Discussion
Group.

In the Visual Basic Editor under Tools - Options - Editor format, I

can
specify the code colors for Normal Text, Comment Text, Keyword Text,

etc.
This is a wonderful feature when trying to edit a macro. However,

when I
print the code so that I can review it and pencil in edits that I want

to
make when I return to my computer, everything is black even though I

sent
it
to a color printer. IS THERE A WAY TO PRINT THE CODE IN THE SPECIFIED
COLORS? I tried selecting all, copying, and pasting into a Word

document
in
hopes that it would retain the colors, but it doesn't. Any other

ideas?

Sarah Jane






  #5   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 7
Default Print VBA code in Editor format colors

Hi Sarah,
I developed a macro in Word that will color all of your comments green and
put a line under each sub or function (in code that you have pasted into Word
from the vbe of any MS office program). I was originally going to go all out
and have it color the keywords blue as well, but I ran out of motivation-it
seemed to me that having the comments green and separating the procedures
acheived my goal of making it more readable. Anyway, let me know if you're
interested and I'll post the code.
-Dave

"Tom Ogilvy" wrote:

Just some added:

http://support.microsoft.com/default...b;en-us;213191
XL2000: Modules Cannot Be Printed in Color

http://support.microsoft.com/default...b;en-us;173083
Modules Cannot Be Printed in Color

--
Regards,
Tom Ogilvy

"Sarah Jane" wrote in message
...
Thanks. I think I'll go post a Suggestion for Microsoft. :^)

Sarah Jane

"Tom Ogilvy" wrote:

The vbe does not print in color.

--
Regards,
Tom Ogilvy

"Sarah Jane" wrote in message
...
I originally posted this question on 8/8/2005 in
microsoft.public.office.developer.officedev.other, but since I still

have
not
gotten any response, I decided to try again by posting it in this
Discussion
Group.

In the Visual Basic Editor under Tools - Options - Editor format, I

can
specify the code colors for Normal Text, Comment Text, Keyword Text,

etc.
This is a wonderful feature when trying to edit a macro. However,

when I
print the code so that I can review it and pencil in edits that I want

to
make when I return to my computer, everything is black even though I

sent
it
to a color printer. IS THERE A WAY TO PRINT THE CODE IN THE SPECIFIED
COLORS? I tried selecting all, copying, and pasting into a Word

document
in
hopes that it would retain the colors, but it doesn't. Any other

ideas?

Sarah Jane








  #6   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 11
Default Print VBA code in Editor format colors

Hi Dave,
That would be wonderful! I was just thinking about going to go write a
macro myself. I would greatly appreciate your allowing me to use yours
instead.
Many thanks,
Sarah Jane

"DGolds" wrote:

Hi Sarah,
I developed a macro in Word that will color all of your comments green and
put a line under each sub or function (in code that you have pasted into Word
from the vbe of any MS office program). I was originally going to go all out
and have it color the keywords blue as well, but I ran out of motivation-it
seemed to me that having the comments green and separating the procedures
acheived my goal of making it more readable. Anyway, let me know if you're
interested and I'll post the code.
-Dave

"Tom Ogilvy" wrote:

Just some added:

http://support.microsoft.com/default...b;en-us;213191
XL2000: Modules Cannot Be Printed in Color

http://support.microsoft.com/default...b;en-us;173083
Modules Cannot Be Printed in Color

--
Regards,
Tom Ogilvy

"Sarah Jane" wrote in message
...
Thanks. I think I'll go post a Suggestion for Microsoft. :^)

Sarah Jane

"Tom Ogilvy" wrote:

The vbe does not print in color.

--
Regards,
Tom Ogilvy

"Sarah Jane" wrote in message
...
I originally posted this question on 8/8/2005 in
microsoft.public.office.developer.officedev.other, but since I still

have
not
gotten any response, I decided to try again by posting it in this
Discussion
Group.

In the Visual Basic Editor under Tools - Options - Editor format, I

can
specify the code colors for Normal Text, Comment Text, Keyword Text,

etc.
This is a wonderful feature when trying to edit a macro. However,

when I
print the code so that I can review it and pencil in edits that I want

to
make when I return to my computer, everything is black even though I

sent
it
to a color printer. IS THERE A WAY TO PRINT THE CODE IN THE SPECIFIED
COLORS? I tried selecting all, copying, and pasting into a Word

document
in
hopes that it would retain the colors, but it doesn't. Any other

ideas?

Sarah Jane






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
Don't print cell colors, Print font colors. klhetrick Excel Discussion (Misc queries) 4 February 13th 08 05:35 PM
Can't format font colors or cell fill-in colors canoeron Excel Discussion (Misc queries) 3 August 22nd 05 11:46 PM
Closing the VBA Editor using code Bony_Pony Excel Worksheet Functions 1 March 7th 05 08:14 PM
RegEx in VBE code editor R Avery Excel Programming 6 December 21st 04 01:58 PM
printing module code from vba editor dirt Excel Programming 3 February 15th 04 10:02 PM


All times are GMT +1. The time now is 05:50 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"