ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   Multiline textbox.. Can you have multiple font colors within? (https://www.excelbanter.com/excel-programming/285258-multiline-textbox-can-you-have-multiple-font-colors-within.html)

bdcrisp[_14_]

Multiline textbox.. Can you have multiple font colors within?
 
I have a textbox serving as a a chat window.. i would like to be able to
manipulate font color based on the 'user' typing within the chat.

to see the context, download the NetChat 3.1 (open first with macros
disabled/change chatlog/user log to point to a shared network folder,
save/reopen with enabled macros)
http://home.doramail.com/benssamples:doramail.com/


---
Message posted from http://www.ExcelForum.com/


BrianB

Multiline textbox.. Can you have multiple font colors within?
 
You can do a certain amount of formatting (eg. Bold/Text colour) in the
formula bar - results only becomes visible when you Enter.

Set to record a macro as you do it to get code sample.


---
Message posted from http://www.ExcelForum.com/


bdcrisp[_15_]

Multiline textbox.. Can you have multiple font colors within?
 
its an ole Text box, i cant seem to format colors of individual section
of text within that control. im not sure if its possible even.

--
Message posted from http://www.ExcelForum.com


Tom Ogilvy

Multiline textbox.. Can you have multiple font colors within?
 
I don't believe it is possible with an ActiveX Textbox. You can try using
the RTF Textbox, or if your textbox is on a worksheet, use the textbox from
the Drawing toolbar (I didn't look at your file, so I don't know where your
textbox is).

--
Regards,
Tom Ogilvy
"bdcrisp" wrote in message
...
its an ole Text box, i cant seem to format colors of individual sections
of text within that control. im not sure if its possible even..


---
Message posted from http://www.ExcelForum.com/





All times are GMT +1. The time now is 02:57 AM.

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