change the font and rows displayed on a validation list

alexaronson

Active Member
Joined
Sep 30, 2005
Messages
314
Hello and thank you for looking at my question.

I have a validation list on a spreadsheet. However, to get the spreadsheet to fit on the screen, I have to zoom in to 60% which makes reading the values in the validation list inpossible to read while selecting them.

From what I read, there is no way to edit the standard validation list to include more rows or to change the font size.

However, several authors suggest fixing with VBA programming but they do not say how.

Any suggestions on how I can do this?

Thank you again for your help.
 

Excel Facts

What is the shortcut key for Format Selection?
Ctrl+1 (the number one) will open the Format dialog for whatever is selected.
See if this helps:

For the worksheet where this is happening, left click on your sheet tab, and click to selct View Code. Copy the below code and paste it into the large white area that is the worksheet module. Press Alt+Q to return to the worksheet.

Code:
Private Sub Worksheet_SelectionChange(ByVal Target As Range)
ActiveWindow.Zoom = 60
If Target.Cells.Count > 1 Then Exit Sub
Dim dvCell As Variant
On Error Resume Next
dvCell = Target.Validation.Type
If Err.Number = 0 Then ActiveWindow.Zoom = 100
Err.Clear
End Sub
 
Upvote 0

Forum statistics

Threads
1,224,551
Messages
6,179,473
Members
452,915
Latest member
hannnahheileen

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