VBA Routine to autopopulate field from value picked from com

G

Guest

Guest
Hi. Looking for code that will work the following way: Column D is a drop down list of text values, say "red star", "Blue triangle", "red triangle". When an item is picked Column C would populate the symbols (Wingdings), example is diamond = wingdings "t". I think using some type of Case Selection would work, like case "red triangle" = "t" wingdings.color. (It definately needs to take in consideration the color.) I know how in my head it should work but not proficent enough in programming to complete it. I'm a newbie so be gentle. :)
 

Excel Facts

Wildcard in VLOOKUP
Use =VLOOKUP("Apple*" to find apple, Apple, or applesauce
This ComboBox you're using is based on what ? Data Validation ? Form Toolbar control ? Control Toolbar ?

To change the color of a cell just use:

Range("A1").Font.Color = 255 'For Red
 
Upvote 0

Forum statistics

Threads
1,214,430
Messages
6,119,447
Members
448,898
Latest member
drewmorgan128

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top