Colours in code

sijpie

Well-known Member
Joined
Nov 1, 2008
Messages
4,255
Office Version
  1. 365
Platform
  1. Windows
  2. MacOS
On my work PC I cannot use any things like HTML Genie or such. In the old forum, I could highlight a line in the section between code brackets and then give this a colour. In the new version this does not work. Is there a different way to show colour in the code section?
Where can I find more info on BB codes
 
After you click on the code tags button, select Rich(BB code) from the Language dropdown.
 
Peter, thanks for the link

The colour coding works fine outside the code tags, but for inside you need to set [ Code=rich]
'Text in fuchsia
Code:
sub test()
   dim i
   i=1
[color=#FF00FF]'Text in fuchsia[/color]
end sub
Rich (BB code):
sub test()
   dim i
   i=1
'Text in fuchsia
end sub
 

Forum statistics

Threads
1,221,519
Messages
6,160,295
Members
451,636
Latest member
ddweller151

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top