Share via

Excel change any text entered to upper case

Anonymous
2024-04-13T12:59:15+00:00

Hi, is there a way to change any ext entereed into a cell is converted to upper case?

I thought of data validation, but this does not seem the right way, so I enter "a" and it automtacilly becomes
"A". , I don't want helpers, copy past or power query, as it would be easier to just re enter as upper, or use shift in the first place.

Richard.

Microsoft 365 and Office | Excel | For home | Windows

Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question.

0 comments No comments

10 answers

Sort by: Most helpful
  1. Anonymous
    2024-04-13T19:17:22+00:00

    Ok, I see what you mean, you just want the individual cell to use the rule automatically without needing another cell to accomplish the goal.

    After researching this, the only way I found to accomplish this is by using a font that contains no lower case version of the letters.

    When you are browsing through your list of fonts, you can tell if a font is upper case only because the font name will be in all upper case letters.

    Some of the supplied fonts in Microsoft Windows/Office that contain only upper case letters are:

    Copperplate Gothic Engravers Felix Tilting Stencil

    Locating a specific font for all for all your titles can be time consuming, especially if you must repeatedly scroll through long list of font choices.

    A timesaving way to apply an ALL CAPS font to a cell is to utilize Cell Styles.

    Cell Styles are located on the Home tab in the Styles group.

    You have the option to use an existing style, create your own style and add it to the library, or modify an existing style.

    If we wish to use the Heading 1 style, but we wish it to be in all upper case letters, right-click on the Heading 1 style and select Modify.

    In the Style dialog box, click the Format button.

    In the Format Cells dialog box, select the Font tab and set the font to the desired ALL CAPS font. You can also use this opportunity to set the font color, underline color, border color, etc…

    We can now select a cell and type in our new title. Once entered, with the title cell selected, click the Heading 1 style from the Cell Styles list.

    5 people found this answer helpful.
    0 comments No comments
  2. Anonymous
    2024-04-13T16:19:51+00:00

    Yes, but that involves another column, as I siad, I was to enter eg "a" and have it automatically
    become "A".

    1 person found this answer helpful.
    0 comments No comments
  3. Anonymous
    2024-04-13T13:44:07+00:00

    Thanks, I can't look into this right now but will let you know how I get on

    Richard

    1 person found this answer helpful.
    0 comments No comments
  4. Anonymous
    2024-04-13T13:45:22+00:00

    No worries if you experience any problems please do not hesitate to contact me again,

    Thanks,

    Parth P.

    0 comments No comments
  5. Anonymous
    2024-04-13T13:33:28+00:00

    Hello there Richard,

    Sorry to hear you're experiencing issues with Excel and hope I can assist your issue as you can use a simple VBA (Visual Basic for Applications) macro to automatically convert any text entered into a cell to uppercase:

    1. Press ALT + F11 to open the Visual Basic for Applications (VBA) editor. 2)In the VBA editor, click Insert in the menu and then select Module. This will insert a new module.
    2. In the module window, paste the following code:

    Private Sub Worksheet_Change(ByVal Target As Range) On Error Resume Next If Not Intersect(Target, Me.UsedRange) Is Nothing Then Application.EnableEvents = False Target.Value = UCase(Target.Value) Application.EnableEvents = True End If End Sub

    1. Close the VBA editor. Now, whenever you enter any text into a cell in the worksheet, it will automatically be converted to uppercase.

    **PLEASE NOTE** -Please note that this code will affect all cells in the worksheet. If you want it to apply only to specific cells, you can adjust the range in the Intersect function accordingly.

    Remember to save your workbook as a macro-enabled file (.xlsm) if you haven't already done so.

    I hope this helps you and should you have anymore problems/concerns please do not hesitate to contact me again.

    Thanks,

    Parth P.

    0 comments No comments