+ Reply to Thread
Results 1 to 5 of 5

Loop to copy the same rows from multiple files to a master file

Hybrid View

  1. #1
    Forum Guru
    Join Date
    03-02-2006
    Location
    Los Angeles, Ca
    MS-Off Ver
    WinXP/MSO2007;Win10/MSO2016
    Posts
    12,925

    Re: Loop to copy the same rows from multiple files to a master file

    Post a simple example of your workbook.
    When you are in Advanced reply, click on the paperclip to open the upload window.

    View Pic
    Last edited by protonLeah; 07-25-2012 at 10:37 PM.
    Ben Van Johnson

  2. #2
    Registered User
    Join Date
    07-25-2012
    Location
    Brisbane, Australia
    MS-Off Ver
    Excel 2003
    Posts
    4

    Re: Loop to copy the same rows from multiple files to a master file

    Hi- thank you for replying.

    Each workbook contains daily summary information for 16 different water monitoring sites (WM-01 to WM-16). I need to create a separate workbook which contains every day of information for just 1 site (e.g. WM-14).

    For example, in the simplified attached workbook, I need to copy rows 16-18 (site WM-14) and paste this information into another workbook. This process needs to be repeated for all the files in the folder (about 100 and all formatted identically) in order to obtain all of the information from all days of monitoring for just site WM-14 in one 'master' workbook.

    I therefore need a code to loop through each file, copying rows 16-18 of each and pasting them consecutively one after another in a master workbook.

    All help, greatly, greatly appreciated!
    Thank you!
    Attached Files Attached Files

+ 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