Go Back   Access World Forums > Microsoft Access Discussion > Modules & VBA

 
Reply
 
Thread Tools Rate Thread Display Modes
Old 09-21-2019, 11:20 PM   #1
tihmir
Newly Registered User
 
Join Date: May 2018
Posts: 24
Thanks: 6
Thanked 0 Times in 0 Posts
tihmir is on a distinguished road
Fill in combobox with different colors

Hello, everyone. I have a question. How to do it? - I have a combobox with 3 names. When I choose one of them I want to change the color of the combo box, respectively name-1 (blue), name-2 (red), name-3 (green).
Thanks

tihmir is offline   Reply With Quote
Old 09-21-2019, 11:39 PM   #2
arnelgp
error reading drive A:
 
arnelgp's Avatar
 
Join Date: May 2009
Location: somewhere out there
Posts: 8,401
Thanks: 68
Thanked 2,703 Times in 2,588 Posts
arnelgp is just really nice arnelgp is just really nice arnelgp is just really nice arnelgp is just really nice arnelgp is just really nice
Re: Fill in combobox with different colors

bring your form in desing view.
click on the combo.
use conditional formatting on the ribbon.
__________________
"Never stop learning, because life never stops teaching"
arnelgp is offline   Reply With Quote
The Following User Says Thank You to arnelgp For This Useful Post:
tihmir (09-21-2019)
Old 09-21-2019, 11:52 PM   #3
tihmir
Newly Registered User
 
Join Date: May 2018
Posts: 24
Thanks: 6
Thanked 0 Times in 0 Posts
tihmir is on a distinguished road
Re: Fill in combobox with different colors

Quote:
Originally Posted by arnelgp View Post
bring your form in desing view.
click on the combo.
use conditional formatting on the ribbon.
Мany, many thanks arnelgp

tihmir is offline   Reply With Quote
Old 09-21-2019, 11:55 PM   #4
arnelgp
error reading drive A:
 
arnelgp's Avatar
 
Join Date: May 2009
Location: somewhere out there
Posts: 8,401
Thanks: 68
Thanked 2,703 Times in 2,588 Posts
arnelgp is just really nice arnelgp is just really nice arnelgp is just really nice arnelgp is just really nice arnelgp is just really nice
Re: Fill in combobox with different colors

you're welcome, friend!

__________________
"Never stop learning, because life never stops teaching"
arnelgp is offline   Reply With Quote
Reply

Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Fill a combobox from VBA spikepl Modules & VBA 1 10-20-2011 10:39 AM
Fill Combobox through code D.W. Schingenga Modules & VBA 1 06-07-2005 12:21 AM
Fill combobox from recordset D.W. Schingenga Modules & VBA 2 06-06-2005 03:10 AM
Fill ComboBox At Runtime rishi_375 Forms 1 01-27-2004 10:29 PM
Using a combobox to fill a textbox cunnie Forms 6 04-12-2002 12:38 AM




All times are GMT -8. The time now is 04:50 AM.


Microsoft Access Help
General
Tables
Queries
Forms
Reports
Macros
Modules & VBA
Theory & Practice
Access FAQs
Code Repository
Sample Databases
Video Tutorials

Featured Forum post


Sponsored Links


Powered by vBulletin®
Copyright ©2000 - 2019, Jelsoft Enterprises Ltd.
(c) copyright 2017 Access World