+ Reply to Thread
Results 1 to 8 of 8

On active row select col"A" and change to upper case

  1. #1
    Registered User
    Join Date
    10-13-2012
    Location
    CT
    MS-Off Ver
    Excel 2007
    Posts
    39

    On active row select col"A" and change to upper case

    On any selected column using VBA I would like to select whatever is in column “A” and change it to CAPE.
    Thanks!

    Excel 2007
    PC

  2. #2
    Forum Guru
    Join Date
    09-10-2017
    Location
    Chippenham, England
    MS-Off Ver
    365
    Posts
    15,767

    Re: On active row select col"A" and change to upper case

    Will you be selecting 1 row or multiple rows?

  3. #3
    Forum Expert sourabhg98's Avatar
    Join Date
    10-22-2014
    Location
    New Delhi, India
    MS-Off Ver
    Excel 2007, 2013
    Posts
    1,899

    Re: On active row select col"A" and change to upper case

    Try using this code -

    Please Login or Register  to view this content.

    So select any cell and run this code. The corresponding value from column A would be converted to upper case.
    You can use a button or even a keyboard shortcut to run the macro. In the sample workbook attached I have assigned the macro to "Ctrl + Shift + C" key combination.

    Excel Forum 1256.xlsm
    Happy to Help

    How to upload excel workbooks at this forum - http://www.excelforum.com/the-water-...his-forum.html

    "I don't get things easily, so please be precise and elaborate"

    If someone's post has helped you, thank by clicking on "Add Reputation" below the post.
    If your query is resolved please mark the thread as "Solved" from the "Thread Tools" above.

    Sourabh

  4. #4
    Forum Expert sourabhg98's Avatar
    Join Date
    10-22-2014
    Location
    New Delhi, India
    MS-Off Ver
    Excel 2007, 2013
    Posts
    1,899

    Re: On active row select col"A" and change to upper case

    As rightly asked by Fluff13, if you need to do the same for multiple row selection then use the following code-

    Please Login or Register  to view this content.
    Excel Forum 1257.xlsm

  5. #5
    Forum Guru Winon's Avatar
    Join Date
    02-20-2007
    Location
    East Rand, R.S.A.
    MS-Off Ver
    2010
    Posts
    6,113

    Re: On active row select col"A" and change to upper case

    Hello gregfox,

    Here you go;

    Please Login or Register  to view this content.
    Regards
    Please consider:

    Be polite. Thank those who have helped you. Then Click on the star icon in the lower left part of the contributor's post and add Reputation. Cleaning up when you're done. If you are satisfied with the help you have received, then Please do Mark your thread [SOLVED] .

  6. #6
    Forum Guru Winon's Avatar
    Join Date
    02-20-2007
    Location
    East Rand, R.S.A.
    MS-Off Ver
    2010
    Posts
    6,113

    Re: On active row select col"A" and change to upper case

    Hi gregfox,

    Or you could use;

    Please Login or Register  to view this content.

  7. #7
    Registered User
    Join Date
    10-13-2012
    Location
    CT
    MS-Off Ver
    Excel 2007
    Posts
    39

    Re: On active row select col"A" and change to upper case

    Mant thanks!

  8. #8
    Forum Guru Winon's Avatar
    Join Date
    02-20-2007
    Location
    East Rand, R.S.A.
    MS-Off Ver
    2010
    Posts
    6,113

    Re: On active row select col"A" and change to upper case

    Hello gregfox,

    If that takes care of your original question, please select Thread Tools from the menu link above and mark this thread as SOLVED.

    Thanks.

+ 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. "If statement" works, but not "select case". What am I doing wrong?
    By max3732 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 06-19-2014, 12:39 PM
  2. Replies: 2
    Last Post: 04-18-2014, 04:12 PM
  3. [SOLVED] Quick Question: Select Case to identify if first character of a cell is "6"
    By exlgh91 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 05-16-2013, 10:25 AM
  4. Case Select compile error "Case without case select"
    By coasterman in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 01-23-2012, 06:50 AM
  5. Case Select....The alternative method for long "Select Case"
    By kimyap in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 07-22-2008, 01:24 AM
  6. Why Error Message "End Select without Select Case"?
    By GoFigure in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 12-08-2005, 08:30 PM
  7. [SOLVED] excel defaults "i" to upper case
    By Joe in forum Excel General
    Replies: 1
    Last Post: 02-18-2005, 03:00 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