Results 1 to 8 of 8

VBA Code for Textbox: First 3 characters Alphabets next 3 characters numeric

Threaded View

  1. #1
    Registered User
    Join Date
    12-07-2013
    Location
    NJ
    MS-Off Ver
    2010
    Posts
    91

    VBA Code for Textbox: First 3 characters Alphabets next 3 characters numeric

    Hello,

    I just started writing vba for userforms for excel. I am stuck on this one however...and would like to know what the code would be?

    I would like the following to be always true for my textbox

    - first 3 characters are alphabets, next 3 characters are numeric, next 1 character is Alphabet, last 3 characters are numeric
    -10 total characters.

    so something like this : SCN000A000

    error message if not match the pattern and if not 10 total characters

    Any help would be appreciated.
    Last edited by honger; 12-11-2013 at 12:18 AM.

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. [SOLVED] Sum of numeric values within cells also containing non-numeric characters
    By Mike Brewer in forum Excel Formulas & Functions
    Replies: 16
    Last Post: 04-24-2013, 09:16 AM
  2. Generate unique random alphabets for 35 characters in length
    By promo786 in forum Excel Programming / VBA / Macros
    Replies: 11
    Last Post: 11-13-2011, 11:10 PM
  3. Removing Non-Numeric Characters
    By GlenS in forum Excel General
    Replies: 5
    Last Post: 10-12-2005, 06:05 AM
  4. [SOLVED] Converting numeric characters
    By Demmaus in forum Excel General
    Replies: 2
    Last Post: 07-15-2005, 07:05 PM
  5. Deleting non numeric characters.
    By CyndyG in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 05-04-2005, 06:06 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