Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 80
Default color font for listbox column

Hi,
Is there anyway to color each column in the listbox or any way to
change the font of individual listbox item.Since we can format the
items by currency or time format, i think that/s possible.
thanks for your help

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 9,101
Default color font for listbox column

Listboxes are text boxes with limited formating. You can change the color of
the text, but can't underline the text (I tried to underline last week and
was not sucessful).

You can use the excel format() statement to format the text prior to putting
the textt into the box. Reading the selected value to the text box again you
have tto convert the text back to numerical data. With dates you use
datevalue("Date string") and with currency you use val("$1.00"). If you want
the $ to appear in the worksheet, then you have to format the cells on the
worksheet to currentcy format.

" wrote:

Hi,
Is there anyway to color each column in the listbox or any way to
change the font of individual listbox item.Since we can format the
items by currency or time format, i think that/s possible.
thanks for your help


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
Conditional Format for font color using font color Jim Excel Worksheet Functions 2 August 29th 09 11:54 AM
Pivot Table Column Label: Multiple color font on selected word? Pierre Excel Worksheet Functions 3 June 5th 08 05:26 PM
How do I sort a column of different font colors by color? Jack Excel Worksheet Functions 1 July 20th 07 10:28 AM
Excel Macro to change row and font color based on column value MT[_2_] Excel Programming 4 September 1st 05 12:56 PM
Excel - Hide Column/s or Change Font color Only for printing chris100 Excel Discussion (Misc queries) 6 July 13th 05 04:02 PM


All times are GMT +1. The time now is 06:26 PM.

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"