+ Reply to Thread
Results 1 to 5 of 5

Need to find text in column U and move it 19 columns to the left

  1. #1
    Registered User
    Join Date
    05-17-2012
    Location
    Long Beach, California
    MS-Off Ver
    Excel 2007
    Posts
    3

    Need to find text in column U and move it 19 columns to the left

    Hi,

    I'm converting NC text programs to excel.
    In random places throughout the program there are text messages that start with "(".
    I moved these text messages to Column U so that I could use "Text-to-Columns" command on Col. A.

    I would now like to bring these text cells back to Col. B, an offset of (0,-19).

    I need a Sub that will:

    - search or find any text in Col. U
    - copy the text and paste it in Col. B
    - find the next text and repeat until no more text is found
    - delete Col. U

    Thanks in advance!
    Ed

  2. #2
    Valued Forum Contributor StevenM's Avatar
    Join Date
    03-23-2008
    Location
    New Lenox, IL USA
    MS-Off Ver
    2007
    Posts
    910

    Re: Need to find text in column U and move it 19 columns to the left

    Something like this?

    Please Login or Register  to view this content.

  3. #3
    Registered User
    Join Date
    05-17-2012
    Location
    Long Beach, California
    MS-Off Ver
    Excel 2007
    Posts
    3

    Re: Need to find text in column U and move it 19 columns to the left

    No, that would copy the blanks and paste over program commands in Col.B.

    I've included a sample file which shows the existing condition and how it should end up.
    The text which needs to move has been formatted red.
    Attached Files Attached Files

  4. #4
    Valued Forum Contributor StevenM's Avatar
    Join Date
    03-23-2008
    Location
    New Lenox, IL USA
    MS-Off Ver
    2007
    Posts
    910

    Re: Need to find text in column U and move it 19 columns to the left

    Backup your data.
    Give this a test.

    Please Login or Register  to view this content.

  5. #5
    Registered User
    Join Date
    05-17-2012
    Location
    Long Beach, California
    MS-Off Ver
    Excel 2007
    Posts
    3

    Re: Need to find text in column U and move it 19 columns to the left

    Yes, that did it! Thanks!

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

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