Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default 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
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 7,247
Default 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



  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 4
Default 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



.

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
excel 2000 how to format the comments font all comments Delquestion Excel Discussion (Misc queries) 1 October 8th 09 02:19 PM
Excel comments zonegrise Excel Worksheet Functions 1 June 16th 09 10:51 PM
in excel useing comments how do you add clip art to comments? dhouse New Users to Excel 2 July 18th 07 08:14 AM
Comments in Excel JP Excel Worksheet Functions 2 April 4th 06 08:22 PM
comments in excel EGYPTIAN SUE Excel Worksheet Functions 2 July 19th 05 01:29 PM


All times are GMT +1. The time now is 07:18 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"