Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 13
Default Format text as bold/italics/underline PROGRAMMATICALLY/formula???

Hi all,
I have a text compiled in a cell as a result of a complex formula. I want to
be able to format PARTS of the resulting text (i.e., after the formula in a
cell compiles and displays the resulting text) as bold and parts as italic
and yet other parts as underlined.
Is there any operator I can insert into the formula so that the desired
parts of the resulting text are displayed as formatted?
Would gretly appreciate any assistance.
thank you!
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 6,953
Default Format text as bold/italics/underline PROGRAMMATICALLY/formula???

Only constant text strings can be rich text formatted. Formulas can't.

--
Regards,
Tom Ogilvy


"Nat Maxwell" wrote:

Hi all,
I have a text compiled in a cell as a result of a complex formula. I want to
be able to format PARTS of the resulting text (i.e., after the formula in a
cell compiles and displays the resulting text) as bold and parts as italic
and yet other parts as underlined.
Is there any operator I can insert into the formula so that the desired
parts of the resulting text are displayed as formatted?
Would gretly appreciate any assistance.
thank you!

  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 13
Default Format text as bold/italics/underline PROGRAMMATICALLY/formula

Thank you, Tom.
Are you aware of any future developments in that area planned by Microsoft,
perchance?
thx!

"Tom Ogilvy" wrote:

Only constant text strings can be rich text formatted. Formulas can't.

--
Regards,
Tom Ogilvy


"Nat Maxwell" wrote:

Hi all,
I have a text compiled in a cell as a result of a complex formula. I want to
be able to format PARTS of the resulting text (i.e., after the formula in a
cell compiles and displays the resulting text) as bold and parts as italic
and yet other parts as underlined.
Is there any operator I can insert into the formula so that the desired
parts of the resulting text are displayed as formatted?
Would gretly appreciate any assistance.
thank you!

  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 5,651
Default Format text as bold/italics/underline PROGRAMMATICALLY/formula???

On Tue, 27 Feb 2007 11:23:07 -0800, Nat Maxwell
wrote:

Hi all,
I have a text compiled in a cell as a result of a complex formula. I want to
be able to format PARTS of the resulting text (i.e., after the formula in a
cell compiles and displays the resulting text) as bold and parts as italic
and yet other parts as underlined.
Is there any operator I can insert into the formula so that the desired
parts of the resulting text are displayed as formatted?
Would gretly appreciate any assistance.
thank you!


You would have to replace the formula with its textual result. Not knowing your
requirements, this is something you could probably do with a Sub routine. And
you could include in that routine the decision making necessary to decide the
font variations for the different segments.
--ron
  #5   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 13
Default Format text as bold/italics/underline PROGRAMMATICALLY/formula

Thank you, Ron!
I wish I knew more about VB programming/macros to actually try out your
recommendation :-(

"Ron Rosenfeld" wrote:

On Tue, 27 Feb 2007 11:23:07 -0800, Nat Maxwell
wrote:

Hi all,
I have a text compiled in a cell as a result of a complex formula. I want to
be able to format PARTS of the resulting text (i.e., after the formula in a
cell compiles and displays the resulting text) as bold and parts as italic
and yet other parts as underlined.
Is there any operator I can insert into the formula so that the desired
parts of the resulting text are displayed as formatted?
Would gretly appreciate any assistance.
thank you!


You would have to replace the formula with its textual result. Not knowing your
requirements, this is something you could probably do with a Sub routine. And
you could include in that routine the decision making necessary to decide the
font variations for the different segments.
--ron



  #6   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 6,953
Default Format text as bold/italics/underline PROGRAMMATICALLY/formula

It is asked so infrequently, I doubt it would attract much interest from
microsoft and I suspect it would eat up a lot of development time and
processing power.

--
Regards,
Tom Ogilvy


"Nat Maxwell" wrote:

Thank you, Tom.
Are you aware of any future developments in that area planned by Microsoft,
perchance?
thx!

"Tom Ogilvy" wrote:

Only constant text strings can be rich text formatted. Formulas can't.

--
Regards,
Tom Ogilvy


"Nat Maxwell" wrote:

Hi all,
I have a text compiled in a cell as a result of a complex formula. I want to
be able to format PARTS of the resulting text (i.e., after the formula in a
cell compiles and displays the resulting text) as bold and parts as italic
and yet other parts as underlined.
Is there any operator I can insert into the formula so that the desired
parts of the resulting text are displayed as formatted?
Would gretly appreciate any assistance.
thank you!

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
TEXT(F2 "0,0") displays 1 as 01, & how to bold and underline in TE Gary Excel Discussion (Misc queries) 3 December 25th 09 09:36 PM
Cannot bold, italicize or underline text - Excel hangs BlueTele Setting up and Configuration of Excel 3 June 19th 08 10:43 AM
formatting (underline/bold/strikethrough) in comment boxes adam l via OfficeKB.com Excel Discussion (Misc queries) 3 November 8th 05 05:55 PM
bold italics or underline Dorothy Excel Discussion (Misc queries) 5 February 16th 05 03:15 PM
Changing font size, bold and underline ChuckM[_2_] Excel Programming 1 December 17th 03 02:12 PM


All times are GMT +1. The time now is 06:16 AM.

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

About Us

"It's about Microsoft Excel"