PC Review


Reply
Thread Tools Rate Thread

color font for listbox column

 
 
baha17@gmail.com
Guest
Posts: n/a
 
      3rd Oct 2007
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 With Quote
 
 
 
 
=?Utf-8?B?Sm9lbA==?=
Guest
Posts: n/a
 
      3rd Oct 2007
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.

"(E-Mail Removed)" 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 With Quote
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Userform listbox font color Ken Warthen Microsoft Excel Programming 1 27th Jun 2009 08:16 PM
Listbox Column uses different color =?Utf-8?B?VWxyaWNoMTk0Nw==?= Microsoft Access Forms 0 18th May 2006 02:52 PM
listbox control - change font color of a single row =?Utf-8?B?cG90aGlrMDU=?= Microsoft Dot NET Framework Forms 2 8th May 2005 05:30 PM
Font Color in Listbox Aaron Microsoft Dot NET Compact Framework 2 18th Feb 2005 08:30 PM
Column A to change font color if column B is not empty dolphinv4 Microsoft Excel Misc 7 12th Aug 2004 01:24 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 02:12 PM.