+ Reply to Thread
Results 1 to 13 of 13

Auto display range as upper case

  1. #1
    Registered User
    Join Date
    09-15-2008
    Location
    Canada
    Posts
    10

    Auto display range as upper case

    Hi all. I have been trying to get a certain selection of cells to display inputs as capitalized no matter if entered in lower case. I looked through this forum and found some, I did try some of the suggestions, and I am having no luck. I am wondering what I am doing wrong? Any help would be greatly appreciated. Thanks in advance.

  2. #2
    Forum Contributor VBA Noob's Avatar
    Join Date
    04-25-2006
    Location
    London, England
    MS-Off Ver
    xl03 & xl 07(Jan 09)
    Posts
    11,988
    BigD1969,

    Please read forum rules below before posting again. Your title has being amended.

    See if link helps

    http://www.ozgrid.com/VBA/force-case-text.htm

    VBA Noob
    _________________________________________


    Credo Elvem ipsum etian vivere
    _________________________________________
    A message for cross posters

    Please remember to wrap code.

    Forum Rules

    Please add to your signature if you found this link helpful. Excel links !!!

  3. #3
    Registered User
    Join Date
    09-15-2008
    Location
    Canada
    Posts
    10

    Have Tried These.

    I have tried these and they don't seem to work. I have changed the value of the cells to the ones that I want, and when I enter lower case letters they stay that way.

  4. #4
    Forum Contributor VBA Noob's Avatar
    Join Date
    04-25-2006
    Location
    London, England
    MS-Off Ver
    xl03 & xl 07(Jan 09)
    Posts
    11,988
    If you want my help then please confirm you have read the forum rules and don't just ignore my request

    VBA Noob

  5. #5
    Registered User
    Join Date
    09-15-2008
    Location
    Canada
    Posts
    10

    Forum rules and help.

    I have read the forum rules and I am looking for help in solving my problem.

  6. #6
    Forum Contributor VBA Noob's Avatar
    Join Date
    04-25-2006
    Location
    London, England
    MS-Off Ver
    xl03 & xl 07(Jan 09)
    Posts
    11,988
    Thank you. See if the attached helps.

    VBA Noob
    Attached Files Attached Files

  7. #7
    Registered User
    Join Date
    09-15-2008
    Location
    Canada
    Posts
    10

    Thanks, not yet there though.

    It works, yet after I copied the code over to my workbook, I have to go back to the cell that I inputted a letter then and only then does it convert to upper case. Yet in your example after I pressed return on my keyboard the converted right then and there. I am confused as how it is not working 100% for me.

  8. #8
    Forum Contributor VBA Noob's Avatar
    Join Date
    04-25-2006
    Location
    London, England
    MS-Off Ver
    xl03 & xl 07(Jan 09)
    Posts
    11,988
    The event macro runs when you change a cell in the range.

    If the cells already have values then you would use a macro such as

    Please Login or Register  to view this content.
    Code goes in a normal module

    VBA Noob
    Last edited by VBA Noob; 09-15-2008 at 05:13 PM.

  9. #9
    Registered User
    Join Date
    09-15-2008
    Location
    Canada
    Posts
    10

    Still not there.

    I don't know what I am doing wrong. I am following the code you are giving me and still no success. Maybe this will help out. The column's I am trying to get to be uppercase are D & F. Column E has cell's with formulas in it. I don't know. Like I said in your example everything works fine. In my worksheet not so good.

  10. #10
    Forum Contributor VBA Noob's Avatar
    Join Date
    04-25-2006
    Location
    London, England
    MS-Off Ver
    xl03 & xl 07(Jan 09)
    Posts
    11,988
    It won't change formula's

    Also you have to change the range to your ranges. Post a sample file if you want

    VBA Noob

  11. #11
    Registered User
    Join Date
    09-15-2008
    Location
    Canada
    Posts
    10

    Here is the file.

    Here is the worksheet I am working on.
    Attached Files Attached Files

  12. #12
    Forum Contributor VBA Noob's Avatar
    Join Date
    04-25-2006
    Location
    London, England
    MS-Off Ver
    xl03 & xl 07(Jan 09)
    Posts
    11,988
    Not everyone has xl07 so best to save as xl2000

    Try

    Please Login or Register  to view this content.
    VBA Noob

  13. #13
    Registered User
    Join Date
    09-15-2008
    Location
    Canada
    Posts
    10

    Smile Thanks for the help.

    It works now. Thanks for the help.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Spellnumber
    By Williams in forum Excel - New Users/Basics
    Replies: 13
    Last Post: 02-16-2020, 03:34 AM
  2. VBA code - color format routine
    By xlwho in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 11-06-2006, 05:10 AM
  3. Changing text to upper case
    By RCH in forum Excel General
    Replies: 2
    Last Post: 10-23-2006, 12:04 AM
  4. Conditional Formatting or...
    By CraigB in forum Excel General
    Replies: 5
    Last Post: 10-16-2006, 04:16 PM
  5. type mismatch
    By Mikeyhend in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 09-16-2006, 01:17 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1