Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Greg Neill
 
Posts: n/a
Default Setting character attributes in a text string

Would anyone happen to know how to go about setting the
character attributes (bold, italic, ...) for a subset of
the characters within a string?

A particular example might clarify.
Suppose cell A10 contained the string: Mary
Suppose further that I wish to set the contents of cell C20
with: =CONCATENATE("I want ",A10," to go to the store.")

Now, how might I go about having the string copied from A10
take on bold or italic characteristics? I don't want to have
to place it in a separate cell and adjust the cell widths for
different length words...

A search of Excel's standard built-in functions didn't turn
up anything helpful, at least to my eye.

Any clues?


  #2   Report Post  
Alan
 
Posts: n/a
Default

Cell formatting cannot be set by formulas. It is possible using code,
Try this link tp Chips site, he is good,
Regards,
Alan.
http://www.cpearson.com/excel.htm
"Greg Neill" wrote in message
. ..
Would anyone happen to know how to go about setting the
character attributes (bold, italic, ...) for a subset of
the characters within a string?

A particular example might clarify.
Suppose cell A10 contained the string: Mary
Suppose further that I wish to set the contents of cell C20
with: =CONCATENATE("I want ",A10," to go to the store.")

Now, how might I go about having the string copied from A10
take on bold or italic characteristics? I don't want to have
to place it in a separate cell and adjust the cell widths for
different length words...

A search of Excel's standard built-in functions didn't turn
up anything helpful, at least to my eye.

Any clues?



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
Remove text leading zero in text string Peo Sjoblom Excel Worksheet Functions 0 May 27th 05 09:59 PM
want to remove all text characters equal to one character in length from text string [email protected] Excel Worksheet Functions 1 April 18th 05 09:56 PM
want to remove all text characters equal to one character in length from text string [email protected] Excel Worksheet Functions 1 April 18th 05 12:25 AM
Finding Specific Text in a Text String Peter Gundrum Excel Worksheet Functions 9 April 10th 05 07:21 PM
Changing a specific character type in text string olasa Excel Discussion (Misc queries) 0 March 20th 05 11:35 PM


All times are GMT +1. The time now is 04:41 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"