+ Reply to Thread
Results 1 to 3 of 3

ProperCase in vba

  1. #1
    Registered User
    Join Date
    06-23-2011
    Location
    Texas
    MS-Off Ver
    Excel 2003
    Posts
    28

    ProperCase in vba

    Hi all,

    I'm trying to convert text from an inputbox to ProperCase and display that into a messagebox. I need to have the user input first and last name inside a input box in my main sub then have it call a function that takes whatever was enter and converts it to ProperCase then goes back to my main sub and display the name correctly. Below is my code but I can only get it to work inside my main sub.

    Please Login or Register  to view this content.
    Last edited by noodle48; 06-29-2011 at 03:27 PM.

  2. #2
    Forum Expert Paul's Avatar
    Join Date
    02-05-2007
    Location
    Wisconsin
    MS-Off Ver
    2016/365
    Posts
    6,887

    Re: ProperCase in vba

    Hi Noodle,

    Oddly enough, this sounds like a homework assignment as there is no real reason to do it this way. One line of code can do everything.
    Please Login or Register  to view this content.

  3. #3
    Registered User
    Join Date
    06-23-2011
    Location
    Texas
    MS-Off Ver
    Excel 2003
    Posts
    28

    Re: ProperCase in vba

    Funny, it was. This is how I was doing it but I can't get it to work any other way. Thanks.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

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