+ Reply to Thread
Results 1 to 2 of 2

For Each Next Assistance on Copying data from Multiple Worksheets

  1. #1
    Valued Forum Contributor AlvaroSiza's Avatar
    Join Date
    09-19-2007
    Location
    Staffordshire
    MS-Off Ver
    2007
    Posts
    591

    For Each Next Assistance on Copying data from Multiple Worksheets

    I have worked through the search forum and actually incorporated a portion of RoyK's code from a like-kind thread, but can't seem to get it going. I appreciate the assistance.

    Ultimate Goal:
    - Click Event imports tabular data from 5 worksheets from a user-chosen source workbook and pastes to next available row + 1 (x1up + 1) in destination workbook.

    Here is my basic import code:
    Please Login or Register  to view this content.
    And here is the code I pulled from RoyK in another thread that utilizes the for each next:
    Please Login or Register  to view this content.
    I need help incorporating the for each next such that it pulls the range of A1:L62 from each of the 5 worksheets and pastes them either (I don't particularly have a preference)

    1. Into 1 worksheet - such that each next worksheet range is pasted below the previous + 1 row; or
    2. Into 5 worksheets

    Thanks!!!
    Last edited by AlvaroSiza; 12-06-2010 at 04:56 PM.

  2. #2
    Valued Forum Contributor AlvaroSiza's Avatar
    Join Date
    09-19-2007
    Location
    Staffordshire
    MS-Off Ver
    2007
    Posts
    591

    Re: For Each Next Assistance on Copying data from Multiple Worksheets

    Following up...

    RoyK's solution won the day. I did have to rename the worksheet name to its actual name
    Please Login or Register  to view this content.
    to
    Please Login or Register  to view this content.
    Here is the code in total. Hope this helps someone else upon search. Thanks Roy!

    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