ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   Change font formatting in a concatenated string (https://www.excelbanter.com/excel-discussion-misc-queries/132043-change-font-formatting-concatenated-string.html)

Michael R

Change font formatting in a concatenated string
 
Following on to the previous question "How do I insert a hard break (alt
enter) in a concatenated string" where the answer was by inserting a CHAR(xx)
string I wonder whether there are similar codes to eg make one element of a
concatenated string bold or italic or underlined or ...

This would come in particularly handy with strings that are displayed in
text boxes - very practical for variable explanations on graphs.

My current workaround is to put the string elements in separate text boxes,
format them as required and then group them together.

Bob Phillips

Change font formatting in a concatenated string
 
No there isn't. You need to use VBA to set the specific elements, but it is
a bind (IMO).

--
---
HTH

Bob

(there's no email, no snail mail, but somewhere should be gmail in my addy)



"Michael R" wrote in message
...
Following on to the previous question "How do I insert a hard break (alt
enter) in a concatenated string" where the answer was by inserting a
CHAR(xx)
string I wonder whether there are similar codes to eg make one element of
a
concatenated string bold or italic or underlined or ...

This would come in particularly handy with strings that are displayed in
text boxes - very practical for variable explanations on graphs.

My current workaround is to put the string elements in separate text
boxes,
format them as required and then group them together.





All times are GMT +1. The time now is 07:17 AM.

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