ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   changing font color and weight in comment boxes (https://www.excelbanter.com/excel-programming/299574-changing-font-color-weight-comment-boxes.html)

Beaux

changing font color and weight in comment boxes
 
I can manually add a comment box to a worksheet cell and manually boldface some of the text and change font colors on some of the text in that comment. However,I have not found a way to do this programmatically. Even recording a macro to mimic this is to no avail - the manual formatting of the text does not show up in the macro. Can this be done in VBA
Thanks,Beaux

Frank Kabel

changing font color and weight in comment boxes
 
Hi
see: http://www.contextures.com/xlcomments03.html

--
Regards
Frank Kabel
Frankfurt, Germany

"Beaux" schrieb im Newsbeitrag
...
I can manually add a comment box to a worksheet cell and manually

boldface some of the text and change font colors on some of the text in
that comment. However,I have not found a way to do this
programmatically. Even recording a macro to mimic this is to no
avail - the manual formatting of the text does not show up in the
macro. Can this be done in VBA?
Thanks,Beaux



Beaux

changing font color and weight in comment boxes
 
Thanks - that helps a great deal - at least I can alter the text "in total" with that. What I really would like to do is change one word within the text to red and bold, not all of the text. It works manually, but I haven't managed that in code. Any thoughts?


All times are GMT +1. The time now is 05:23 PM.

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