ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   Excel Comments (https://www.excelbanter.com/excel-programming/287908-excel-comments.html)

George Godik

Excel Comments
 
I need some help with Excel comments. I am unable to find
useable documentation other than the function defenitions
in the MSDN for the cell comment object in excel.

more specifically, I need some part of text in the comment
field to be bold. I am able to find the text I need in the
text string, but I am unable to format it.

recording a macro does not help : it does not reflect text
format changes done to the comments

any help would be appreciated

- George

Chip Pearson

Excel Comments
 
George,

Use code like the following:

Dim CMT As Comment
Set CMT = Range("A1").AddComment()
CMT.Text "this is a test"
CMT.Shape.TextFrame.Characters(11, 4).Font.Bold = True



--
Cordially,
Chip Pearson
Microsoft MVP - Excel
Pearson Software Consulting, LLC
www.cpearson.com




"George Godik" wrote in message
...
I need some help with Excel comments. I am unable to find
useable documentation other than the function defenitions
in the MSDN for the cell comment object in excel.

more specifically, I need some part of text in the comment
field to be bold. I am able to find the text I need in the
text string, but I am unable to format it.

recording a macro does not help : it does not reflect text
format changes done to the comments

any help would be appreciated

- George




George[_18_]

Excel Comments
 

thanks

-----Original Message-----
George,

Use code like the following:

Dim CMT As Comment
Set CMT = Range("A1").AddComment()
CMT.Text "this is a test"
CMT.Shape.TextFrame.Characters(11, 4).Font.Bold = True



--
Cordially,
Chip Pearson
Microsoft MVP - Excel
Pearson Software Consulting, LLC
www.cpearson.com




"George Godik" wrote in message
...
I need some help with Excel comments. I am unable to

find
useable documentation other than the function

defenitions
in the MSDN for the cell comment object in excel.

more specifically, I need some part of text in the

comment
field to be bold. I am able to find the text I need in

the
text string, but I am unable to format it.

recording a macro does not help : it does not reflect

text
format changes done to the comments

any help would be appreciated

- George



.



All times are GMT +1. The time now is 11:59 PM.

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