Data Validation - Drop Down Font

jwarin

New Member
Joined
Jun 6, 2008
Messages
1
I'm using a data validation with the criteria being two values, a check mark and an X from wingdings. Arial doesn't have either of these so I had to use wingdings. The problem is, the drop down menu converts them to arial which makes the two possible values a different versions of a "u". The cell still populates with a winding value after one of the 'u''s is selected but I would like the wingdings to show up in the drop down. Any idea how to changed it?
 

Excel Facts

Get help while writing formula
Click the italics "fx" icon to the left of the formula bar to open the Functions Arguments dialog. Help is displayed for each argument.
You can not specify the font used in the data validation dropdown.

That being said: what is wrong with using a plain text 'X' and another text value in place of the checkmark wingding?
 
Upvote 0
If you just want a tick and a cross, why not use the square root sign and X from Arial?
 
Upvote 0
Welcome to the Board!

How do your users know the difference between the check and X?

Why not something straightforward like Yes/No?
 
Upvote 0
Hi there, I'm a very newbie in vba and this site has helped me alot. I was asking this same question too. In column E, I have the tick and in column F, I have the X so here's the formula that may help but you will have to adjust the code a bit depend on where you want the ticks and cross

Code:
Private Sub Worksheet_SelectionChange(ByVal Target As Range)
  If Target.Cells.Count > 1 Then Exit Sub 
    If Not Intersect(Target, Range("e1:e10000")) 
      Target.Font.Name = "Marlett" 
      If Target = vbNullString Then
         Target = "a" 
      Else
         Target = vbNullString
      End If 
 
    ElseIf Not Intersect(Target, Range("f1:f10000")) 
      If Target = vbNullString Then 
         Target = "X"
      Else
         Target = vbNullString
      End If 
    End If
End Sub
 
Last edited by a moderator:
Upvote 0
Nice code unley:
As a side note, an "r" in Marlett font produces a very nice X

lenze
 
Upvote 0
Thank you lenze and this is another news for me like an "r" in Marlett font produces a very nice X ;)
 
Upvote 0

Forum statistics

Threads
1,215,411
Messages
6,124,759
Members
449,187
Latest member
hermansoa

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