Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 27,285
Default Multi-line cell formatting

Turn on the macro recorder and manually apply the bolding to a subset of the
text as you describe. Turn it off.

This will show you how to use the characters class/method to do what you
want.

--
Regards,
Tom Ogilvy

"Tim H." wrote in message
...
I have VBA code that uses a list of tasks from one sheet to populate a
calendar type view on another sheet. Each calendar day (cell) shows that
corresponding tasks for that date, each separated by a CR/LF. For
example,
one cell may have 5 lines representing a mix of open and completed tasks.
On
the calendar sheet open tasks are currently shown preceeded by "o-" and
completed tasks are currently shown preceded by "#-". I would like to
differentiate completed and open tasks by showing open tasks in bold-face
font.

I am having trouble writing logic that, following the generation of the
calendar entries, would allow me to interrogate each cell and only bold
the
line(s) in the multi-line cell representing completed tasks. I have tried
replace logic, but this does not retain the two possible (bold and
non-bold)
conditions for the multi-lines.

Any thoughts would be greatly appreciated.

Thanks,
Tim



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
multi line cell Kishore Excel Discussion (Misc queries) 0 April 29th 08 04:48 PM
Concatenate: Multi-Line Cell with 2 single line cells BEEJAY Excel Worksheet Functions 0 February 15th 07 08:53 PM
Formatting multi-line text Tim H. Excel Programming 3 June 16th 06 08:48 PM
Multi-line Formatting gareth93 Excel Discussion (Misc queries) 2 June 12th 06 01:28 PM
how can I paste multi-line/multi-paragraph data into ONE cell? Theano Excel Discussion (Misc queries) 3 June 7th 05 01:10 PM


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