I am creating a label style that needs to contain three pieces of information from three attribute fields in the feature class. In the label expression, each field needs to appear on its new line, and one field [GW_Elevati] needs to appear in blue font.
In my first draft, I used only the &vbnewline& command, and it came out just fine. However, when I added in the appropriate code for coloring the font (see code below), I got this:
<SPAN class="punctuation token">[</SPAN>Location<SPAN class="punctuation token">]</SPAN><SPAN class="operator token">&</SPAN>vbnewline <SPAN class="operator token">&</SPAN> <SPAN class="string token">"<CLR blue = '255'>"</SPAN> <SPAN class="operator token">&</SPAN> <SPAN class="punctuation token">[</SPAN>GW_Elevati<SPAN class="punctuation token">]</SPAN> <SPAN class="operator token">&</SPAN> <SPAN class="string token">"</CLR>"</SPAN> <SPAN class="operator token">&</SPAN>vbnewline<SPAN class="operator token">&</SPAN><SPAN class="punctuation token">[</SPAN>Carbon_tet<SPAN class="punctuation token">]</SPAN><SPAN class="line-numbers-rows"><SPAN></SPAN></SPAN>