Continue to Site

Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

  • Congratulations cowski on being selected by the Eng-Tips community for having the most helpful posts in the forums last week. Way to Go!

Data validation drop down menus

Status
Not open for further replies.

jnims

Electrical
Sep 11, 2000
75
I frequently use data validation to simplify data entry in my spreadsheets, but have been unable to find a way to adjust the text format of the entries.

Is there a way to increase the text size?

Thanks
 
Replies continue below

Recommended for you

This seems to be asked more often - would be nice in a future version of XL, wouldn't it.
One thing you could do is use a ComboBox from the Controls Toolbox toolbar, instead of plain Data Validations. You can format the control to your liking.

Another "solution" I found on microsoft.public.excel:


From: Debra Dalgleish (dsd@contextures.com)
Subject: Re: Data Validation Drop Down List
Newsgroups: microsoft.public.excel.programming
Date: 2002-11-04 18:16:04 PST

You can't change the font in Data Validation dropdowns. You can use an event procedure to increase the zoom setting when the cell is selected, but don't try this if you're susceptible to motion sickness.

In the following code, cell C4 has a dropdown list. Change the cell reference from $C$4 to match your worksheet.

Code:
Private Sub Worksheet_SelectionChange(ByVal Target As Range)
     If Target.Address = "$C$4" Then
       ActiveWindow.Zoom = 150
      Else
       ActiveWindow.Zoom = 100
     End If
End Sub
To add this code to the worksheet, right-click on the sheet tab, and choose View Code. Copy the code, and paste it onto the code module.

Marjorie wrote:
> I am creating a template with several Data Validated Drop
> Down lists and have run into a problem. The drop down
> list appears, however, it appears in an extremely small
> font. Once a choice is made, the font defaults back to
> the normal 11pt. How do I change the size of drop down
> list font?
Regards,

Joerd
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor