+ Reply to Thread
Results 1 to 2 of 2

VBA to set Upper Case & Lower Case

  1. #1
    Forum Contributor
    Join Date
    11-08-2012
    Location
    Manchester, UK
    MS-Off Ver
    Excel 2016
    Posts
    142

    VBA to set Upper Case & Lower Case

    Hello,

    I have a tracker with several worksheets. Each Worksheet has the following macro assigned;
    Please Login or Register  to view this content.
    The tracker also runs the following macro against all worksheets when I save it;
    Please Login or Register  to view this content.
    Column I has entries in the format of 'uuuuuu.llllll.llllll', where the length of each section can differ and each character could be either a letter or number. I want to make all the "u" uppercase and all the 'l' lower case.

  2. #2
    Forum Expert JLGWhiz's Avatar
    Join Date
    02-20-2011
    Location
    Florida, USA
    MS-Off Ver
    Windows 10, Excel 2013
    Posts
    2,070

    Re: VBA to set Upper Case & Lower Case

    something like this
    Please Login or Register  to view this content.
    I missed the part about variable length. try this instead.

    Please Login or Register  to view this content.
    Last edited by JLGWhiz; 02-07-2018 at 12:15 PM.
    Any code provided by me should be tested on a copy or a mock up of your original data before applying it to the original. Some events in VBA cannot be reversed with the undo facility in Excel. If your original post is satisfied, please mark the thread as "Solved". To upload a file, see the banner at top of this page.
    Just when I think I am smart, I learn something new!

+ 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. Replies: 1
    Last Post: 07-14-2016, 05:51 AM
  2. Replies: 7
    Last Post: 04-18-2014, 04:11 PM
  3. [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
  4. Delete duplicates with lower case and upper case taken into account?
    By Tinwelende in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 06-17-2013, 11:35 AM
  5. [SOLVED] Convert 1st letter of word to Upper Case and rest to lower case
    By rizmomin in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 05-23-2013, 11:44 AM
  6. Replies: 2
    Last Post: 12-09-2005, 05:15 AM
  7. [SOLVED] Changing file in all upper case to upper and lower case
    By Sagit in forum Excel General
    Replies: 14
    Last Post: 08-25-2005, 10:05 PM

Tags for this Thread

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