+ Reply to Thread
Results 1 to 8 of 8

Grabbing Text From a Cell

  1. #1
    Registered User
    Join Date
    06-20-2012
    Location
    Maryland, USA
    MS-Off Ver
    Excel 2010
    Posts
    6

    Grabbing Text From a Cell

    I have a poorly formatted spreadsheet which I need to update. The first user placed the entity name and description within the same cell, is some way to tell VBA to go into the cell look for any information after a return and cut the information after a return or something like that?

    Capture.PNG

  2. #2
    Forum Expert
    Join Date
    07-31-2010
    Location
    California
    MS-Off Ver
    Excel 2007
    Posts
    4,070

    Re: Grabbing Text From a Cell

    Maybe it is just me but I am not able to see your picture.

    Note: Pictures are not as helpful as submitting an actual workbook.

  3. #3
    Registered User
    Join Date
    06-20-2012
    Location
    Maryland, USA
    MS-Off Ver
    Excel 2010
    Posts
    6

    Re: Grabbing Text From a Cell

    That's odd its displaying fine on my end. Sorry about that.

  4. #4
    Registered User
    Join Date
    06-20-2012
    Location
    Maryland, USA
    MS-Off Ver
    Excel 2010
    Posts
    6

    Re: Grabbing Text From a Cell

    Sample rows, hopefully this works out a little better than the picture. In particular I'd like to be able to take column B, and make it into separate columns for name and description, I don't know of a way to do this without an existing comma or semicolon within excel. I'm hoping there is some neat VBA way to do it or its gonna be a lot of cut and paste work.
    Attached Files Attached Files

  5. #5
    Forum Expert
    Join Date
    07-31-2010
    Location
    California
    MS-Off Ver
    Excel 2007
    Posts
    4,070

    Re: Grabbing Text From a Cell

    What does "cut the information after a return" mean to you?
    What does "or something like that?" mean to you?

    In your example workbook, demonstrate what you want the final product to look like.

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

    Re: Grabbing Text From a Cell

    Is this what you after?
    Please Login or Register  to view this content.

  7. #7
    Registered User
    Join Date
    06-20-2012
    Location
    Maryland, USA
    MS-Off Ver
    Excel 2010
    Posts
    6

    Re: Grabbing Text From a Cell

    Jindon YOU ARE THE MAN! That is exactly what I was trying to do.

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

    Re: Grabbing Text From a Cell

    If that takes care of your original question, please select Thread Tools from the menu link above and mark this thread as SOLVED.

+ 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. Grabbing and using a cell's text in VBA
    By elained in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 10-03-2013, 08:42 PM
  2. [SOLVED] Need help grabbing text from the middle of a text string
    By AJSchwayze in forum Excel General
    Replies: 7
    Last Post: 09-18-2012, 11:25 AM
  3. Grabbing text from software screen & placing it in excel
    By frankcase in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 07-24-2009, 11:05 PM
  4. Grabbing cells with text from a range
    By Plaasboy in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 10-10-2008, 06:32 AM
  5. Grabbing text from just part of a cell
    By Mary T in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 01-05-2006, 03:01 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