changing font color and weight in comment boxes

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

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
 
Hi
see: http://www.contextures.com/xlcomments03.html

--
Regards
Frank Kabel
Frankfurt, Germany

Beaux said:
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 - 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?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top