+ Reply to Thread
Results 1 to 4 of 4

Editing an alphanumeric value

  1. #1
    Forum Contributor
    Join Date
    08-24-2012
    Location
    Hollidaysburg, Pa
    MS-Off Ver
    Excel 2010
    Posts
    398

    Editing an alphanumeric value

    I Have a list of Alphanumeric values in a column (eg. a110a50, a011a50, b333b7, e034e47)
    What I want to do is :
    1. the VBA should ignore the first letter and copy the rest to the adjacent cell and BOLD the remaninder letter.
    2. If, after ignoring the the first letter, the first digit is a zero, ignore that as well.)

    Eg:
    • if the aphanumeric value is a110a50 my desired result should be 110A50
    • if the alphanumeric value is a011a50 , my desired output is 11A50.


    I tried :

    I tried working on this code. This completely removes the alphabet from an alphanumeric
    Last edited by subbby; 10-07-2013 at 11:26 AM. Reason: SOLVED

  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: Editing an alphanumeric value

    Select the cells and run this small macro:

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

  3. #3
    Forum Contributor
    Join Date
    08-24-2012
    Location
    Hollidaysburg, Pa
    MS-Off Ver
    Excel 2010
    Posts
    398

    Re: Editing an alphanumeric value

    Thanks. That worked..

  4. #4
    Forum Contributor
    Join Date
    08-24-2012
    Location
    Hollidaysburg, Pa
    MS-Off Ver
    Excel 2010
    Posts
    398

    Re: Editing an alphanumeric value

    Quote Originally Posted by Jakobshavn View Post
    Select the cells and run this small macro:
    Forgot to mention… that filename also has its extension behind it. eg. a110a50 , in the excel is a110a50.dwg and a011a50 in the excel is a011a50.dwf.

    When I run this code, it writes it as 110A50.DWG and 11A50.DWF

    Is there a way I could get rid of the extension ? I mean the .DWG and the .DWF too ?

    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. Replies: 3
    Last Post: 04-23-2012, 10:18 AM
  2. Alphanumeric Seqences
    By Rock_boy in forum Excel General
    Replies: 6
    Last Post: 03-08-2012, 07:40 PM
  3. Alphanumeric formatting with K
    By light in forum Excel General
    Replies: 1
    Last Post: 10-13-2010, 03:03 PM
  4. sum contains alphanumeric
    By albert28 in forum Excel General
    Replies: 3
    Last Post: 07-06-2010, 04:19 AM
  5. [SOLVED] Sort - alphanumeric.
    By Brad in forum Excel - New Users/Basics
    Replies: 2
    Last Post: 10-31-2005, 07:05 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