+ Reply to Thread
Results 1 to 3 of 3

VBA Copy rows from workbooks into an existing workbook

  1. #1
    Registered User
    Join Date
    10-31-2016
    Location
    Houston, Texas
    MS-Off Ver
    2013
    Posts
    2

    Talking VBA Copy rows from workbooks into an existing workbook

    Hi all,
    VERY new to VBA. I basally know how to open it and run the code. I need some help!

    I have several workbooks that contain information that I need to be put into one summary sheet.

    The rows that I need copied over start in Column A and end on Column N in each workbook. However, each workwork will have a different number of rows (some will have 100 rows, some will have 8, etc). Each workbook has only 1 worksheet "Sheet1".

    I need each row from every workbook to be pasted into a summary workbook that I have already created "SUMMARY" (I need to have specific formatting so I have to use this existing sheet). I need the rows to be pasted AFTER the titles and headers and etc, which is row 10. I need the rows to paste on the next empty row.

    In summary, I need:
    1. To loop through all excel files in a folder
    2. Copy all the rows (column A-N) starting on row 10
    3. Paste in existing workbook (starting at row 10) and continue pasting in the next available row.

    I wish I would have learned more about this in school. ANYTHING HELPS!!!

  2. #2
    Forum Guru
    Join Date
    07-25-2011
    Location
    Florida
    MS-Off Ver
    Excel 2003
    Posts
    9,643

    Re: VBA Copy rows from workbooks into an existing workbook

    Change the folder path to suit.

    Please Login or Register  to view this content.
    Surround your VBA code with CODE tags e.g.;
    [CODE]your VBA code here[/CODE]
    The # button in the forum editor will apply CODE tags around your selected text.

  3. #3
    Registered User
    Join Date
    10-31-2016
    Location
    Houston, Texas
    MS-Off Ver
    2013
    Posts
    2

    Re: VBA Copy rows from workbooks into an existing workbook

    GOT IT!!!!!

    You are seriously so much help..

    Thanks a million.
    Last edited by darcyrenee08; 11-07-2016 at 04:38 PM.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. [SOLVED] Copy multiple rows from one workbook & paste to another below existing data
    By RSa in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 02-25-2016, 02:32 PM
  2. Combine workbooks into an existing workbook in the same folder
    By uberathlete in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 01-04-2014, 01:51 PM
  3. Replies: 4
    Last Post: 04-02-2013, 02:55 PM
  4. Replies: 3
    Last Post: 10-24-2012, 06:41 AM
  5. Replies: 2
    Last Post: 03-12-2010, 12:47 PM
  6. Create new workbooks and worksheets from an existing Workbook
    By nazmul in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 07-30-2008, 11:07 PM
  7. Importing data from several existing workbooks into main workbook
    By Incoherent in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 12-22-2005, 05:15 AM

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