+ Reply to Thread
Results 1 to 2 of 2

Code to separate small from Capital letters

  1. #1
    Registered User
    Join Date
    08-02-2007
    Posts
    30

    Code to separate small from Capital letters

    Hi,

    would be grateful if someone could give me a hint on what code/function/procedure to use in order to compare a written name in a textbox (or similar) with a list of names in an excel sheet. In case the name in the text box matches a name in the excel list then the name in the list should be found. I do not want VBA to make difference to small or Capital letters (ie if marcus is written with small "m" or Capital "M" the program should not see it as 2 different entries.


    Regards,


    Marcus

  2. #2
    Forum Expert dominicb's Avatar
    Join Date
    01-25-2005
    Location
    Lancashire, England
    MS-Off Ver
    MS Office 2000, 2003, 2007 & 2016 365
    Posts
    4,867

    Smile

    Good afternoon marcusr

    The standard way is to convert your users input and your target variables to all upper (or lower) case thus :

    Please Login or Register  to view this content.
    HTH

    DominicB
    Please familiarise yourself with the rules before posting. You can find them here.

+ 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