+ Reply to Thread
Results 1 to 6 of 6

copy and arrange cells

  1. #1
    Forum Contributor
    Join Date
    04-21-2010
    Location
    Budapest
    MS-Off Ver
    Excel 2010
    Posts
    155

    copy and arrange cells

    I would need some support to create a VBA for the follwoing task. (see my uploaded sample file).
    In columns from A to J I enter the data continously in more rows.
    Runing the macro need to
    - copy the data in columns A-D-C-D (data in each row as far as the last entry) to columns L-M-N-O
    - then copy columns A-E-F-G (data in each row as far as the last entry) into column L-M-N-O but after the row contains the last data,
    - then copy columns A-H-I-J (data in each row as far as the last entry) into column L-M-N-O but after the row contains the last data,
    finaly sorting the columns L-M-N-O in ascending order by columns M,N and O.
    Attached Files Attached Files
    Last edited by ccsmith; 07-27-2010 at 06:36 AM.

  2. #2
    Registered User
    Join Date
    07-15-2010
    Location
    Daegu, Korea
    MS-Off Ver
    Excel 2007
    Posts
    14

    Re: copy and arrange cells

    Check this code..

    Please Login or Register  to view this content.

  3. #3
    Forum Contributor
    Join Date
    04-21-2010
    Location
    Budapest
    MS-Off Ver
    Excel 2010
    Posts
    155

    Re: copy and arrange cells

    rethguals: Thank you. You solved it. I am very grateful.

  4. #4
    Forum Contributor
    Join Date
    04-21-2010
    Location
    Budapest
    MS-Off Ver
    Excel 2010
    Posts
    155

    Re: copy and arrange cells

    rethguals: Could you modify the macro to copy just the values (without formulas, formating etc.)?

  5. #5
    Registered User
    Join Date
    07-15-2010
    Location
    Daegu, Korea
    MS-Off Ver
    Excel 2007
    Posts
    14

    Re: copy and arrange cells

    Hi..
    Please check below

    Please Login or Register  to view this content.

  6. #6
    Forum Contributor
    Join Date
    04-21-2010
    Location
    Budapest
    MS-Off Ver
    Excel 2010
    Posts
    155

    Re: copy and arrange cells

    Thank you.

+ 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