ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   Colour of commented VBA (https://www.excelbanter.com/excel-programming/340609-colour-commented-vba.html)

tcbootneck

Colour of commented VBA
 
Deafault being the light green we have all got to know and love. Is there
another colour that can be apportioned to commented out code? This will be
useful to differentiaye between title / sub title and a piece of code that is
maybe being prototyped.



Norman Jones

Colour of commented VBA
 
Hi TC.

In the VBE.

Tools | Options | Editor Format ....


---
Regards,
Norman



"tcbootneck" wrote in message
...
Deafault being the light green we have all got to know and love. Is there
another colour that can be apportioned to commented out code? This will
be
useful to differentiaye between title / sub title and a piece of code that
is
maybe being prototyped.





Chip Pearson

Colour of commented VBA
 
If you are asking whether you can have two colors for commented
text, the answer is no.


--
Cordially,
Chip Pearson
Microsoft MVP - Excel
Pearson Software Consulting, LLC
www.cpearson.com


"tcbootneck" wrote in
message
...
Deafault being the light green we have all got to know and
love. Is there
another colour that can be apportioned to commented out code?
This will be
useful to differentiaye between title / sub title and a piece
of code that is
maybe being prototyped.





Norman Jones

Colour of commented VBA
 
Hi TC,

I think Chip's interpretation of your question is the right one. My
suggestion related uniquely to changing the format of comments

---
Regards,
Norman



"Norman Jones" wrote in message
...
Hi TC.

In the VBE.

Tools | Options | Editor Format ....


---
Regards,
Norman



"tcbootneck" wrote in message
...
Deafault being the light green we have all got to know and love. Is
there
another colour that can be apportioned to commented out code? This will
be
useful to differentiaye between title / sub title and a piece of code
that is
maybe being prototyped.







tcbootneck

Colour of commented VBA
 
Thanks Chip.

I had a feeling that would be the answer. Still feel it would be a good
feature to have.

"Chip Pearson" wrote:

If you are asking whether you can have two colors for commented
text, the answer is no.


--
Cordially,
Chip Pearson
Microsoft MVP - Excel
Pearson Software Consulting, LLC
www.cpearson.com


"tcbootneck" wrote in
message
...
Deafault being the light green we have all got to know and
love. Is there
another colour that can be apportioned to commented out code?
This will be
useful to differentiaye between title / sub title and a piece
of code that is
maybe being prototyped.






Chip Pearson

Colour of commented VBA
 
I agree it would be nice, but it would be VERY difficult for the
editor to determine what comments are "title comments" and what
comments are "code comments". The result would probably be more
confusing.


--
Cordially,
Chip Pearson
Microsoft MVP - Excel
Pearson Software Consulting, LLC
www.cpearson.com


"tcbootneck" wrote in
message
...
Thanks Chip.

I had a feeling that would be the answer. Still feel it would
be a good
feature to have.

"Chip Pearson" wrote:

If you are asking whether you can have two colors for
commented
text, the answer is no.


--
Cordially,
Chip Pearson
Microsoft MVP - Excel
Pearson Software Consulting, LLC
www.cpearson.com


"tcbootneck" wrote in
message
...
Deafault being the light green we have all got to know and
love. Is there
another colour that can be apportioned to commented out
code?
This will be
useful to differentiaye between title / sub title and a
piece
of code that is
maybe being prototyped.









All times are GMT +1. The time now is 07:25 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com