+ Reply to Thread
Results 1 to 7 of 7

Code to change value to ProperCase

  1. #1
    Valued Forum Contributor
    Join Date
    11-27-2013
    Location
    Waterbury, CT
    MS-Off Ver
    Office 365
    Posts
    1,175

    Code to change value to ProperCase

    Hi.
    I am trying to automatically change Range("N8") to "ProperCase". Can anyone tell me how and where to add this to the code?
    code:
    Please Login or Register  to view this content.
    Thanks in advance
    Last edited by kosherboy; 06-25-2014 at 05:49 PM.

  2. #2
    Forum Expert Jakobshavn's Avatar
    Join Date
    08-17-2012
    Location
    Lakehurst, NJ, USA
    MS-Off Ver
    Excel 2007
    Posts
    1,970

    Re: Code to change value to ProperCase

    Consider:

    Please Login or Register  to view this content.
    Gary's Student

  3. #3
    Valued Forum Contributor
    Join Date
    11-27-2013
    Location
    Waterbury, CT
    MS-Off Ver
    Office 365
    Posts
    1,175

    Re: Code to change value to ProperCase

    Wow! You are awesome!
    To be honest i don't quite understand what the (0,0) is for but i'm really glad it works. I would like to know how your code works though.

    Thanks!

  4. #4
    Valued Forum Contributor
    Join Date
    11-27-2013
    Location
    Waterbury, CT
    MS-Off Ver
    Office 365
    Posts
    1,175

    Re: Code to change value to ProperCase

    Quote Originally Posted by Jakobshavn View Post
    Consider:

    Please Login or Register  to view this content.
    A minor issue just happened. After i entered the value in cell N8 and hit "enter", in which the cell indeed switched to "Proper", when i went back in to the cell and backspaced to clear the contents i got an error message?
    Can you advise on this?
    By the way, cell N8 is merged till Q8.

  5. #5
    Forum Expert Jakobshavn's Avatar
    Join Date
    08-17-2012
    Location
    Lakehurst, NJ, USA
    MS-Off Ver
    Excel 2007
    Posts
    1,970

    Re: Code to change value to ProperCase

    I merged N8 thru Q8 and modified the code as follows:

    Please Login or Register  to view this content.

  6. #6
    Valued Forum Contributor
    Join Date
    11-27-2013
    Location
    Waterbury, CT
    MS-Off Ver
    Office 365
    Posts
    1,175

    Re: Code to change value to ProperCase

    Thank you so much! Again you amazed me!
    P.s. when you have a chance please explain the (0,0)

  7. #7
    Forum Expert Jakobshavn's Avatar
    Join Date
    08-17-2012
    Location
    Lakehurst, NJ, USA
    MS-Off Ver
    Excel 2007
    Posts
    1,970

    Re: Code to change value to ProperCase

    The (0,0) is to avoid having to deal with $ signs

+ 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: 4
    Last Post: 07-09-2012, 04:15 PM
  2. UpperCase to Propercase
    By Jeniffer in forum Excel General
    Replies: 14
    Last Post: 06-11-2012, 02:51 AM
  3. Replies: 15
    Last Post: 04-17-2012, 08:19 AM
  4. ProperCase in vba
    By noodle48 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 06-29-2011, 03:27 PM
  5. Help with VBA for propercase
    By boolean in forum Excel Programming / VBA / Macros
    Replies: 9
    Last Post: 03-27-2011, 04:52 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