Home |
Search |
Today's Posts |
#3
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
This event code will change the entries to Upper Case when selected from the DV
list. Private Sub Worksheet_Change(ByVal Target As Excel.Range) If Intersect(Target, Me.Range("A1")) Is Nothing Then Exit Sub On Error GoTo ErrHandler Application.EnableEvents = False Target.Formula = UCase(Target.Formula) ErrHandler: Application.EnableEvents = True End Sub Right-click on the sheet tab and "View Code". Adjust the "A1" to your DV cell address. If more than one cell has DV list alter to Me.Range("A1, B21, C13, D1") Copy/paste into that sheet module. Alt + q to return to the Excel sheet window. Gord Dibben MS Excel MVP On Fri, 29 Feb 2008 11:11:02 -0800, k1ngr wrote: How can I set up data validation so that state abbreviations are entered as two upper case characters? I have the abbreviations validated from a list, but it doesn't force all uppercase. Dick King |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Convert State abbreviations color coded cell | Excel Worksheet Functions | |||
state abbreviations | New Users to Excel | |||
Converting State Names to State Abbreviations | Excel Discussion (Misc queries) | |||
create a list box in one cell of state abbreviations | Excel Worksheet Functions | |||
US State Abbreviations List | New Users to Excel |