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

Hello,

I have a userform with a bunch of combo boxes that the user can edit.
I would like to add a few comboboxes for totals that look exactly the
same as the others but do not allow the user to edit them. I tried
disabling these boxes, but that changes the font to grey, while I
would like it to stay black. I also tried using lables instead of
comboboxes for the totals, but I ran into formatting problems.

Any ideas?

Thanks,
-Tim

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 7,247
Default ComboBox font color

Set the Locked property to True. Be sure to set the ListIndex to = 0 at run
time to display something because when the control is locked, the user can't
drop down the list.


--
Cordially,
Chip Pearson
Microsoft MVP - Excel, 10 Years
Pearson Software Consulting
www.cpearson.com
(email on the web site)


"Smurfette18" wrote in message
oups.com...
Hello,

I have a userform with a bunch of combo boxes that the user can edit.
I would like to add a few comboboxes for totals that look exactly the
same as the others but do not allow the user to edit them. I tried
disabling these boxes, but that changes the font to grey, while I
would like it to stay black. I also tried using lables instead of
comboboxes for the totals, but I ran into formatting problems.

Any ideas?

Thanks,
-Tim


  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 10
Default ComboBox font color

Thanks Chip! Worked perfectly.

On Oct 26, 8:29 pm, "Chip Pearson" wrote:
Set the Locked property to True. Be sure to set the ListIndex to = 0 at run
time to display something because when the control is locked, the user can't
drop down the list.

--
Cordially,
Chip Pearson
Microsoft MVP - Excel, 10 Years
Pearson Software Consultingwww.cpearson.com
(email on the web site)

"Smurfette18" wrote in message

oups.com...



Hello,


I have a userform with a bunch of combo boxes that the user can edit.
I would like to add a few comboboxes for totals that look exactly the
same as the others but do not allow the user to edit them. I tried
disabling these boxes, but that changes the font to grey, while I
would like it to stay black. I also tried using lables instead of
comboboxes for the totals, but I ran into formatting problems.


Any ideas?


Thanks,
-Tim- Hide quoted text -


- Show quoted text -



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
Checkbox to change background color, font color and remove/ add bo Sara Excel Discussion (Misc queries) 2 May 1st 23 11:43 AM
Conditional Format for font color using font color Jim Excel Worksheet Functions 2 August 29th 09 11:54 AM
Changing Font color based on font type or size John Excel Discussion (Misc queries) 2 February 7th 08 12:50 AM
Check Font or Font color and take action MSPLearner Excel Programming 3 November 15th 06 11:31 AM
My fill color and font color do not work in Excel Std Edition 2003 chapstick Excel Discussion (Misc queries) 1 September 11th 05 08:48 PM


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