+ Reply to Thread
Results 1 to 4 of 4

Excel 2007 : Macro to remove text from beginning of line

  1. #1
    Registered User
    Join Date
    11-24-2008
    Location
    PA
    Posts
    7

    Macro to remove text from beginning of line

    Good morning,
    I'd like to know if someone may be able to help me with a macro. I have a spreadsheet that has over 14,000 entries. One of the columns has information like this:
    Red w/yellow stripes
    or
    dark green w/purple polka dots
    What I need to do is to remove everything in front of yellow stripes or purple polka dots. The columns need to look like this:
    Yellow stripes
    purple polka dots

    So, in essence I need to find the w/ and then remove everything in front of the w/ and the w/ as well.

    I don't even know if this is possible, but if anyone could help I would most appreciate it. Thank you.
    Last edited by galetondesigns; 11-24-2008 at 11:34 AM. Reason: Title Change

  2. #2
    Forum Expert
    Join Date
    12-23-2006
    Location
    germany
    MS-Off Ver
    XL2003 / 2007 / 2010
    Posts
    6,326
    Welcome to the forum.

    Please read the Forum Rules about thread titles, and then edit yours to be descriptive of your problem.

    Thanks.

  3. #3
    Registered User
    Join Date
    11-24-2008
    Location
    PA
    Posts
    7
    I guess from the lack of responses there's no way to do this. Thanks anyway

  4. #4
    Forum Contributor VBA Noob's Avatar
    Join Date
    04-25-2006
    Location
    London, England
    MS-Off Ver
    xl03 & xl 07(Jan 09)
    Posts
    11,988
    Take a look at text to columns. The delimiter would be "/"

    VBA Noob
    _________________________________________


    Credo Elvem ipsum etian vivere
    _________________________________________
    A message for cross posters

    Please remember to wrap code.

    Forum Rules

    Please add to your signature if you found this link helpful. Excel links !!!

+ 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