+ Reply to Thread
Results 1 to 9 of 9

Command to move text to new cell

  1. #1
    Registered User
    Join Date
    08-12-2013
    Location
    United States
    MS-Off Ver
    Excel 2007
    Posts
    9

    Angry Command to move text to new cell

    Good Afternoon,

    I converted a PDF to an excel Spreadsheet and a lot of text that should be in separate cells is in the same cell. Right now I am using the following method:

    Highlight unwanted text in first cell
    Ctrl + X
    Insert new row
    Ctrl + V

    and repeating until each cell has the exact information it needs in it. It would be an enormous timesaver if there was a way to be able to click just before or highlight the part of the text that I want to move to the row below and hit a command that automatically moves this text to the row below. Any suggestions?

    Thanks!

  2. #2
    Valued Forum Contributor
    Join Date
    02-08-2012
    Location
    Newcastle, Australia
    MS-Off Ver
    Excel 2007 and Excel 2010
    Posts
    1,429

    Re: Command to move text to new cell

    You would need to record it in a macro, and then assign a keyboard shortcut to that macro.

    In Excel 2007, you will need to enable the Developer tab (through Excel Options), and then you should be able to see the "Record Macro" button. Press this button, perform the task once, and then press "Stop Recording". You can assign a keyboard shortcut to the macro before you record it.

    Hope this helps

  3. #3
    Registered User
    Join Date
    08-12-2013
    Location
    United States
    MS-Off Ver
    Excel 2007
    Posts
    9

    Re: Command to move text to new cell

    Thanks, but there's no clear logic (as far as Excel is considered) when I am making text into a new line. In the line itself, it has name, title, sometimes the company, and sometimes the address. I am separating each of these items manually.

  4. #4
    Valued Forum Contributor
    Join Date
    02-08-2012
    Location
    Newcastle, Australia
    MS-Off Ver
    Excel 2007 and Excel 2010
    Posts
    1,429

    Re: Command to move text to new cell

    Is each piece of text within one cell separated by a space or a comma? Is there some common delimiter? Or is that ambiguous too?

  5. #5
    Registered User
    Join Date
    08-12-2013
    Location
    United States
    MS-Off Ver
    Excel 2007
    Posts
    9

    Re: Command to move text to new cell

    Unfortunately there is no comma delimiter. I tried creating a macro and it wasn't effective. It would just be great if there were a key I could hit to move text to the line below.

  6. #6
    Valued Forum Contributor
    Join Date
    02-08-2012
    Location
    Newcastle, Australia
    MS-Off Ver
    Excel 2007 and Excel 2010
    Posts
    1,429

    Re: Command to move text to new cell

    Without a delimiter (even a space we could work with), I don't think it's a possibility, but it wouldn't be unlike someone with more experience on this forum to come along and prove me wrong

    Sorry I couldn't answer your question

  7. #7
    Registered User
    Join Date
    08-12-2013
    Location
    United States
    MS-Off Ver
    Excel 2007
    Posts
    9

    Re: Command to move text to new cell

    Ah, sorry to not be more clear. There are spaces within the name/title/address of the person, I just am not sure how Excel will know when I a person's title ends and when their address begins!

  8. #8
    Valued Forum Contributor
    Join Date
    02-08-2012
    Location
    Newcastle, Australia
    MS-Off Ver
    Excel 2007 and Excel 2010
    Posts
    1,429

    Re: Command to move text to new cell

    Hmmm, I can definitely work with spaces. I will take a look at writing a macro and get back to you soon

    EDIT: Ah I actually see the problem now with not all spaces being a delimiter. I'm going back to "I'm not able to solve this one. Sorry"

    Good luck though, I hope you get an answer
    Last edited by ajryan88; 08-15-2013 at 05:12 PM.

  9. #9
    Registered User
    Join Date
    08-12-2013
    Location
    United States
    MS-Off Ver
    Excel 2007
    Posts
    9

    Re: Command to move text to new cell

    Thanks for your help! Hopefully Excel can come up with a quick way of moving text to a new cell without having to insert a new line and cut/paste!

+ 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. VBA to automatically move command button to another cell after being clicked on
    By vaznlyfe in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 08-23-2012, 11:29 AM
  2. Move text in a cell to another if = to value
    By datahouse in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 11-02-2011, 03:35 PM
  3. Move Command Button above header text (of a column)
    By MrHockey in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 06-26-2009, 08:48 PM
  4. Replies: 2
    Last Post: 05-03-2007, 11:30 AM
  5. [SOLVED] How can I move the cell pointer down one row in a macro command?
    By Ken in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 08-12-2006, 01:45 PM

Tags for this Thread

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