Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 21
Default Formatting text in Commments to cells

Hi everybody,
Is it possibile to format the text in comments with VBA? (Excel 2003)
e.g. one word bold or underlined or different sizes like you can do maually.

I will copy text from a worddocument and insert text from wordparagraphs as
comment to different cells.I know that it´s possbile to make line feed in the
comments with VBA.
Another question is if the default format in comments can be changed with VBA.
Thanks in advance for any answers or comments.
Mats
--
ESI Update
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 27,285
Default Formatting text in Commments to cells

http://www.contextures.com/tiptech.html

Look under C for various pages discussion comments, including programming

You can't change the defaults with VBA as comments don't have separate
defaults.

for instance, the background color is the TipText background color defined
in the Windows settings.

--
Regards,
Tom Ogilvy


"Mats Nilsson" wrote in message
...
Hi everybody,
Is it possibile to format the text in comments with VBA? (Excel 2003)
e.g. one word bold or underlined or different sizes like you can do

maually.

I will copy text from a worddocument and insert text from wordparagraphs

as
comment to different cells.I know that it´s possbile to make line feed in

the
comments with VBA.
Another question is if the default format in comments can be changed with

VBA.
Thanks in advance for any answers or comments.
Mats
--
ESI Update



  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 903
Default Formatting text in Commments to cells

Hi Mats,
You can change some of the default formats, but not the font which is Tachoma.
http://www.mvps.org/dmcritchie/excel/ccomment.htm#font

Don't know how or if you can change formatting of substrings within a cell
comment with VBA -- when I do that while recording a macro , I don't see
any changes for color or font weight.


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
Formatting cells for text and numbers Preston Excel Worksheet Functions 2 February 12th 09 05:48 PM
Formatting Text in cells that already have text entered Jennifer V. Excel Worksheet Functions 4 January 13th 09 09:27 PM
Formatting a group of cells for text Lee Excel Discussion (Misc queries) 4 February 25th 06 06:37 PM
Formatting Cells or Text Dave Matthews Excel Discussion (Misc queries) 1 January 27th 06 01:43 PM
Text formatting in cells Anne McGuiness New Users to Excel 2 July 13th 05 06:04 AM


All times are GMT +1. The time now is 07:53 AM.

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"