+ Reply to Thread
Results 1 to 6 of 6

Auto Upper Case

  1. #1
    Forum Contributor
    Join Date
    10-05-2014
    Location
    CALIFORNIA
    MS-Off Ver
    2010
    Posts
    1,719

    Auto Upper Case

    Hello,

    I normally had this code place in “thisWorkbook” but is there anyway to place this in the VBAP project in Sheet2 instead. The reason, there is a lot of codes going on thisWorkbook that I don’t want to be affected.

    Can anyone probably edit the code so I can place it in the Sheet2 only.
    My target range in Sheet2 are just the cell AU5 and U6.
    This code will auto upper case my entry in AU5 and U6 only

    Thank you.

    Please Login or Register  to view this content.

  2. #2
    Forum Expert
    Join Date
    03-20-2015
    Location
    Primarily UK, sometimes NL
    MS-Off Ver
    Work: Office 365 / Home: Office 2010
    Posts
    2,405

    Re: Auto Upper Case

    If I understand you correctly, you want anything entered in AU5 or U6 to be upper case, anything entered elsewhere to be proper case?
    Edit: also, I think you want code for the Worksheet not Workbook - the code below should go in the VBE for Sheet2 (or any other sheet you want it to work on)
    Try this:
    Please Login or Register  to view this content.
    Last edited by Aardigspook; 11-01-2018 at 01:02 PM. Reason: Clarification
    Regards,
    Aardigspook

    I recently started a new job so am a bit busy and may not reply quickly. Sorry - it's not personal - I will reply eventually.
    If your problem is solved, please go to 'Thread Tools' above your first post and 'Mark this Thread as Solved'.
    If you use commas as your decimal separator (1,23 instead of 1.23) then please replace commas with semi-colons in your formulae.
    You don't need to give me rep if I helped, but a thank-you is nice.

  3. #3
    Forum Guru xladept's Avatar
    Join Date
    04-14-2012
    Location
    Pasadena, California
    MS-Off Ver
    Excel 2003,2010
    Posts
    12,378

    Re: Auto Upper Case

    Maybe:

    Please Login or Register  to view this content.
    Last edited by xladept; 11-01-2018 at 01:17 PM.
    If I've helped you, please consider adding to my reputation - just click on the liitle star at the left.

    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~(Pride has no aftertaste.)

    You can't do one thing. XLAdept

    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~aka Orrin

  4. #4
    Forum Contributor
    Join Date
    10-05-2014
    Location
    CALIFORNIA
    MS-Off Ver
    2010
    Posts
    1,719

    Re: Auto Upper Case

    Thank you all.

  5. #5
    Forum Guru xladept's Avatar
    Join Date
    04-14-2012
    Location
    Pasadena, California
    MS-Off Ver
    Excel 2003,2010
    Posts
    12,378

    Re: Auto Upper Case

    You're welcome!

  6. #6
    Forum Expert
    Join Date
    03-20-2015
    Location
    Primarily UK, sometimes NL
    MS-Off Ver
    Work: Office 365 / Home: Office 2010
    Posts
    2,405

    Re: Auto Upper Case

    You're welcome, glad we could 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. Auto Upper Case Problems
    By MOTORBIKEBITZ in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 04-01-2017, 01:56 PM
  2. [SOLVED] VBA macro UPPER auto case
    By Peterino in forum Excel Programming / VBA / Macros
    Replies: 21
    Last Post: 11-17-2014, 03:34 PM
  3. Auto convert lower case to Upper in same cell
    By russkris in forum Excel General
    Replies: 9
    Last Post: 08-08-2014, 06:49 AM
  4. [SOLVED] Lower Case to Upper Case but No Auto Correction : Solved by Mod (6StringJazzer)
    By HaroonSid in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 03-27-2014, 10:44 AM
  5. Auto display range as upper case
    By BigD1969 in forum Excel Programming / VBA / Macros
    Replies: 12
    Last Post: 09-15-2008, 07:43 PM
  6. Auto Upper Case
    By jamphan in forum Excel General
    Replies: 1
    Last Post: 01-05-2006, 05:50 PM
  7. Replies: 14
    Last Post: 08-25-2005, 10:05 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