+ Reply to Thread
Results 1 to 2 of 2

Upper case more than one cell - VBA

  1. #1
    Registered User
    Join Date
    07-27-2013
    Location
    Peru
    MS-Off Ver
    Excel 2003
    Posts
    24

    Upper case more than one cell - VBA

    Hello
    I would like to upper case multiple cells in my excel sheet using vba, i have this code:

    Private Sub Workbook_SheetChange(ByVal Sh As Object, ByVal Target As Range)

    If Target.Address = "$A$5" Then
    Target.Value = UCase(Target.Value)

    End If

    End Sub

    -------------------------

    How can I upper case more than one cell?

    Regards
    Claudio

  2. #2
    Forum Expert tim201110's Avatar
    Join Date
    10-23-2011
    Location
    Russia
    MS-Off Ver
    2016, 2019
    Posts
    2,357

    Re: Upper case more than one cell - VBA

    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. Replies: 7
    Last Post: 10-13-2014, 12:23 PM
  2. Write a subroutine in a module to change case upon exit of a cell to upper case
    By Stephd22 in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 12-15-2013, 06:39 PM
  3. Cell Always upper case regardless of input
    By Georgia Golfer in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 12-30-2008, 03:10 PM
  4. How to chg lower to upper case in cell?
    By krishnarao in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 05-16-2007, 01:04 AM
  5. [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
  6. Cell tests for upper case, and certain #'s
    By Beth in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 04-14-2005, 05:06 PM
  7. Replies: 1
    Last Post: 03-09-2005, 05:06 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