+ Reply to Thread
Results 1 to 3 of 3

macro - columns to lines

  1. #1
    Registered User
    Join Date
    10-18-2012
    Location
    toncul
    MS-Off Ver
    Excel 2003
    Posts
    8

    macro - columns to lines

    Hi
    I have the following worksheet, 2 columns such as:

    initial file.JPG

    As you can see, the first value is starting on line 12. On the left column, A,B,C is repeating such as the two A are separated by 33 lines.
    In reality, A,B,C is repeating over 200 times, so it is a long worksheet I have. I just show 2 here for the example.

    I would like to make a micro which would re-write the values in the right column in lines such as:

    ex result file.JPG

    Thanks for your help!

  2. #2
    Forum Contributor arlu1201's Avatar
    Join Date
    09-09-2011
    Location
    Bangalore, India
    MS-Off Ver
    Excel 2003 & 2007
    Posts
    19,166

    Re: macro - columns to lines

    It will be good if you attach a sample excel file instead of a jpg.

    To Attach a File:

    1. Click on Go Advanced
    2. In the frame Attach Files you will see the button Manage Attachments
    3. Click the button.
    4. A new window will open titled Manage Attachments - Excel Forum.
    5. Click the Browse... button to locate your file for uploading.
    6. This will open a new window File Upload.
    7. Once you have located the file to upload click the Open button. This window will close.
    8. You are now back in the Manage Attachments - Excel Forum window.
    9. Click the Upload button and wait until the file has uploaded.
    10. Close the window and then click Submit.
    If I have helped, Don't forget to add to my reputation (click on the star below the post)
    Don't forget to mark threads as "Solved" (Thread Tools->Mark thread as Solved)
    Use code tags when posting your VBA code: [code] Your code here [/code]

  3. #3
    Registered User
    Join Date
    10-18-2012
    Location
    toncul
    MS-Off Ver
    Excel 2003
    Posts
    8

    Re: macro - columns to lines

    File for Macro.xlsx

    here is the excel file. I remove many lines as it is repeating.
    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