+ Reply to Thread
Results 1 to 6 of 6

Upper Case not including specific Sheet

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

    Upper Case not including specific Sheet

    I tried to exclude the entire Sheet5 to not auto upper case.

    Under "If Intersect(Target, Range("Sheet5")) Is Nothing Then" I typed the Sheet5 but it did not work. It's still doing the auto upper case.



    Please Login or Register  to view this content.
    Thanks.

  2. #2
    Forum Guru Norie's Avatar
    Join Date
    02-02-2005
    Location
    Stirling, Scotland
    MS-Off Ver
    Microsoft Office 365
    Posts
    19,643

    Re: Upper Case not including specific Sheet

    Check Sh, not Target.
    Please Login or Register  to view this content.
    If posting code please use code tags, see here.

  3. #3
    Forum Expert
    Join Date
    03-28-2012
    Location
    TBA
    MS-Off Ver
    Office 365
    Posts
    12,454

    Re: Upper Case not including specific Sheet

    The syntax is wrong, but the reason for not getting the error is due to this line
    On Error Resume Next
    What this line saying is keep jumping into next line if that line errors.
    SO, not good idea coding to put this line at the top.

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

    Re: Upper Case not including specific Sheet

    Not working.
    I just want the Sheet5 to excluded from the code.

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

    Re: Upper Case not including specific Sheet

    Hi
    Ok.. I kinda figure it out but what I need now is to exlude Sheet1 cell A1 and C1 not to have upper case.

    I tried to add this code in it.

    "If Intersect(Target, Sheet1.Range("A1,C1"))"
    Attached Files Attached Files

  6. #6
    Forum Guru Norie's Avatar
    Join Date
    02-02-2005
    Location
    Stirling, Scotland
    MS-Off Ver
    Microsoft Office 365
    Posts
    19,643

    Re: Upper Case not including specific Sheet

    If all you wanted to do is exclude Sheet5 from the code all you would need is this as the first line of code.
    Please Login or Register  to view this content.

+ 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. [SOLVED] Specific worksheet upper case
    By RJ1969 in forum Excel Programming / VBA / Macros
    Replies: 19
    Last Post: 07-30-2020, 08:54 AM
  2. [SOLVED] Change name format including adjusting upper case to lower case
    By johnmitch38 in forum Excel Formulas & Functions
    Replies: 10
    Last Post: 07-26-2019, 07:53 AM
  3. Upper Case excluding specific worksheet
    By RJ1969 in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 04-09-2019, 12:05 AM
  4. [SOLVED] Auto upper case does not include specific cell
    By RJ1969 in forum Excel Programming / VBA / Macros
    Replies: 9
    Last Post: 02-17-2019, 09:43 PM
  5. [SOLVED] Auto upper case for specific range of cells
    By giligancow in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 11-25-2013, 12:21 PM
  6. Replies: 14
    Last Post: 08-25-2005, 10:05 PM
  7. [SOLVED] How do I convert all upper case excel sheet into upper and lower .
    By DebDay in forum Excel General
    Replies: 1
    Last Post: 03-09-2005, 05:06 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