+ Reply to Thread
Results 1 to 3 of 3

macro that will paste multiple selections in one row

  1. #1
    Registered User
    Join Date
    01-02-2009
    Location
    cyprus
    MS-Off Ver
    Excel 2003
    Posts
    5

    macro that will paste multiple selections in one row

    Hi,
    I'm trying to create a macro that will copy and then paste a range of cells to another worksheet but in one row. The cells that I would like to copy are in 3 different rows. They are B7:F7, C12:D12, C17:E17. Now I've managed to find a macro through this forum that will paste the particular cells but they I can't seem to find a way to record a macro that will paste them in one row. In addition to that I also tried copying and pasting each of the ranges of cells individually it kind of worked but it came up with an error box.
    The problem is, even if I can find a macro to paste those cells it has to be able to paste them underneath the previous row. So e.g it should paste the cells in row 17 and then when i press the command button again it should paste them to row 18.

    Thanks a lot in advance
    Last edited by andria; 01-02-2009 at 01:17 PM.

  2. #2
    Forum Guru
    Join Date
    08-26-2007
    Location
    London
    Posts
    4,606
    Here is one approach. It puts the results in sheet2, starting in column A.
    Please Login or Register  to view this content.

  3. #3
    Registered User
    Join Date
    01-02-2009
    Location
    cyprus
    MS-Off Ver
    Excel 2003
    Posts
    5
    Thanks loads it works perfectly!!!!!!!

+ 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