+ Reply to Thread
Results 1 to 3 of 3

Text Import Wizard Cleanup

  1. #1
    Registered User
    Join Date
    09-02-2008
    Location
    Orlando
    Posts
    18

    Text Import Wizard Cleanup

    While bringing in text from another source, excel seems to move back and forth a cell every once in a while. I have thousands of lines to clean up so I'm looking for an easier way. Below is an example of what I have and then an example of what I'd like. My issue is I can manually do it easily but I don't know how to do it all at once.
    While of course I'd like a solution, I'd also like to be pointed in the right direction? Perhaps a brief idea of how you resolved it?

    Thanks for any and all help!

    CaptureExcel.PNG

  2. #2
    Forum Expert JBeaucaire's Avatar
    Join Date
    03-21-2004
    Location
    Bakersfield, CA
    MS-Off Ver
    2010, 2016, Office 365
    Posts
    33,492

    Re: Text Import Wizard Cleanup

    With a macro, try this on a copy of your data... it finds all the cells with TEXT in column B, then moves that cell and 5 more on the right to the left one cell.

    Please Login or Register  to view this content.
    How/Where to install the macro:

    1. Open up your workbook
    2. Get into VB Editor (Press Alt+F11)
    3. Insert a new module (Insert > Module)
    4. Copy and Paste in your code (given above)
    5. Get out of VBA (Press Alt+Q)
    6. Save as a macro-enabled workbook

    The macro is installed and ready to use. Press Alt-F8 and select it from the macro list.
    _________________
    Microsoft MVP 2010 - Excel
    Visit: Jerry Beaucaire's Excel Files & Macros

    If you've been given good help, use the icon below to give reputation feedback, it is appreciated.
    Always put your code between code tags. [CODE] your code here [/CODE]

    ?None of us is as good as all of us? - Ray Kroc
    ?Actually, I *am* a rocket scientist.? - JB (little ones count!)

  3. #3
    Forum Expert JBeaucaire's Avatar
    Join Date
    03-21-2004
    Location
    Bakersfield, CA
    MS-Off Ver
    2010, 2016, Office 365
    Posts
    33,492

    Re: Text Import Wizard Cleanup

    Thanks for the feedback. I presume this works for you?

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

+ 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