Data Validation List font is too small

jtoms

New Member
Joined
Oct 26, 2004
Messages
29
I can't seem to figure how to increase the font size of my dropdown list. I am choosing from a list of about 40 values and I have tried to increase the size of the cell, merge it with other cells, and change the font size of the cell.

I am using XL2002, Win XP.

Please let me know if you can help.

Thank you.

-j
 

Excel Facts

What is the fastest way to copy a formula?
If A2:A50000 contain data. Enter a formula in B2. Select B2. Double-click the Fill Handle and Excel will shoot the formula down to B50000.
I don't believe you can change the font of data validation contents. You can, however, replace the data validation list with a combobox in which you can do so. If any of the experts on here know how to change DV fonts, I'd like to know, too!
 
Upvote 0
Hi

One thing to check is the zoom on the sheet. If it is too small, it will impact.


Tony
 
Upvote 0
Data Validation does not have the functionality you are asking for.

One blue collar workaround is to adjust the zoom when you select the cell that is data validated. It makes me dizzy so I never do this for myself, but some people like it so here it is.

Assuming your cell is D12 (you didn't say, so modify the code accordingly), right-click on your sheet tab, left click on View Code, and paste the following procedure into the large white area that is the worksheet module. Press Alt+Q to return to the worksheet.


Private Sub Worksheet_SelectionChange(ByVal Target As Range)
With ActiveWindow
If ActiveCell.Address = "$D$12" Then
.Zoom = 250
Else
.Zoom = 100
End If
End With
End Sub


Modify also for desired zooms (normal if not 100, and 250 if too big or too small).
 
Upvote 0
Awesome! I like it. Thank you!

I have more than one list...Could I use an if....else...if...else to add more zoomed in cells? I tried but got a compile error.

Here is the code again:

Private Sub Worksheet_SelectionChange(ByVal Target As Range)
With ActiveWindow
If ActiveCell.Address = "$A$4" Then
.Zoom = 250
Else
.Zoom = 50
End If
End With
End Sub

I propose something like:

Private Sub Worksheet_SelectionChange(ByVal Target As Range)
With ActiveWindow
If ActiveCell.Address = "$A$4" Then
.Zoom = 250
Else IF ActiveCell.Address = "$B$4" Then
.Zoom = 250
Else
.Zoom = 50
End If
End With
End Sub

etc....etc.
 
Upvote 0
Maybe this is what you want?

Private Sub Worksheet_SelectionChange(ByVal Target As Range)
With ActiveWindow
If Intersect(Target, Range("A4:B4")) Is Nothing Then
.Zoom = 50
Else
.Zoom = 250
End If
End With
End Sub
 
Upvote 0

Forum statistics

Threads
1,214,872
Messages
6,122,025
Members
449,060
Latest member
LinusJE

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