+ Reply to Thread
Results 1 to 9 of 9

split a string from a particular string

  1. #1
    Forum Contributor
    Join Date
    04-06-2013
    Location
    india
    MS-Off Ver
    Excel 2007
    Posts
    193

    Angry split a string from a particular string

    my A range have the following values
    Mr. Gayle AdamsProduction Manager
    Mr. Rich ClaussenExecutive Vice President, Talent Development
    Ms. Sandra CrannyExecutive Vice President, Communication Planning
    Mr. Bryan CrannyDirector, Information Services
    Mr. Sean FadenVice President & Creative Director
    Mr. Andy FletcherChief Executive Officer
    Ms. Karen HenricksenDirector, Human Resources

    the name contain there designation also
    i need to split there designation to B range
    result like

    A1 Mr. Gayle Adams
    B1 Production Manager
    A2 Mr. Rich Claussen
    B2 Executive Vice President, Talent Development
    A3 Ms. Sandra Cranny
    B3 Executive Vice President, Communication Planning
    A4 Mr. Sean Faden
    B4 Vice President & Creative Director
    A5 Mr. Andy Fletcher
    B5 Chief Executive Officer
    A6 Ms. Karen Henrickse
    B6 Director, Human Resources


    Designations start like
    Production*
    Vice President*
    Chief*
    Executive*
    Director*

    is it possible to create a macro?
    Last edited by anilg0001; 05-29-2013 at 06:25 AM.

  2. #2
    Forum Guru
    Join Date
    08-15-2004
    Location
    Tokyo, Japan
    MS-Off Ver
    2013 O.365
    Posts
    22,834

    Re: split a string from a particular string

    Try
    Please Login or Register  to view this content.
    Last edited by jindon; 05-29-2013 at 06:38 AM.

  3. #3
    Forum Contributor
    Join Date
    04-06-2013
    Location
    india
    MS-Off Ver
    Excel 2007
    Posts
    193

    Re: split a string from a particular string

    Thanks mr.jindon
    it shows error

    Compile error:
    Wrong number of arguments or invalid property assignment


    Please Login or Register  to view this content.

  4. #4
    Forum Guru
    Join Date
    08-15-2004
    Location
    Tokyo, Japan
    MS-Off Ver
    2013 O.365
    Posts
    22,834

    Re: split a string from a particular string

    Working...
    Attached Files Attached Files

  5. #5
    Forum Contributor
    Join Date
    04-06-2013
    Location
    india
    MS-Off Ver
    Excel 2007
    Posts
    193

    Re: split a string from a particular string

    Thanks it working now
    but may i know how code understand the designations?

  6. #6
    Forum Guru
    Join Date
    08-15-2004
    Location
    Tokyo, Japan
    MS-Off Ver
    2013 O.365
    Posts
    22,834

    Re: split a string from a particular string

    From the pattern specified.

  7. #7
    Forum Contributor
    Join Date
    04-06-2013
    Location
    india
    MS-Off Ver
    Excel 2007
    Posts
    193

    Re: split a string from a particular string

    i dont understand

    may i know the parttern here?

    Mr. Gayle AdamsProduction Manager

  8. #8
    Forum Guru
    Join Date
    08-15-2004
    Location
    Tokyo, Japan
    MS-Off Ver
    2013 O.365
    Posts
    22,834

    Re: split a string from a particular string

    I don't know how deep you know about Regular Expressions.

    If you don't know, google the net and get the information about regular expressions first and ask where you don't understand.

    I don't want to explain from the scratch.

  9. #9
    Forum Contributor
    Join Date
    04-06-2013
    Location
    india
    MS-Off Ver
    Excel 2007
    Posts
    193

    Re: split a string from a particular string

    ok ok
    thanks a lot

+ 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