+ Reply to Thread
Results 1 to 4 of 4

rebuild structure

  1. #1
    Registered User
    Join Date
    06-17-2012
    Location
    Hello
    MS-Off Ver
    Excel 2003
    Posts
    2

    rebuild structure

    Hi
    I have file about this structure
    -----A----B
    1--test1--,
    2--test2--,
    3--test3--,
    4--test4--,
    5--test5--,
    6--test6--,
    (...)
    (about 20 000 lines)

    And I need to rebuild to this structure

    -----A------B------C-----D------E-----F----(...)
    1--test1----,----test2----,----test3----,----(...)---test49---,---test50---,
    2--test51---,---test52----,---test53----,----(...)--test99---,---test100--,
    etc.
    Can you do it?

  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: rebuild structure

    Place the code below in a standard module (if you don't know how, ask)
    Run: RebuildStructure

    The result is in new worksheet.

    Please Login or Register  to view this content.

  3. #3
    Registered User
    Join Date
    06-17-2012
    Location
    Hello
    MS-Off Ver
    Excel 2003
    Posts
    2

    Re: rebuild structure

    Thanks!
    I have another problem
    I have file about this structure
    ------A-----
    1---test1---
    2------------
    3---test2---
    4------------
    5---test3---
    etc.

    And I need to rebuild to this structure
    ------A-----
    1---test1---
    2---test2---
    3---test3---
    etc.

  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: rebuild structure

    Backup your data.
    The following code will delete rows where the cell in column A is empty.

    Please Login or Register  to view this content.

+ 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