+ Reply to Thread
Results 1 to 1 of 1

Copy range of one worksheet from multiple workbooks to multiple worksheets in one master

  1. #1
    Registered User
    Join Date
    02-02-2014
    Location
    London, England
    MS-Off Ver
    Excel 2010
    Posts
    65

    Copy range of one worksheet from multiple workbooks to multiple worksheets in one master

    Hi, I need help with a macro to copy ranges from one worksheet in the country file to multiple worksheets in the master file. The master file as well as the country files are stored in the same folder. I am attaching two workbooks 1. Consolidate Test and 2. Germany Test. The country file has a 'Highlights' tab where commentary is given against various sections e.g. Sales, Opex and HC. The Consolidated file has these sections as worksheets and the countries as sections on each tab. The idea is that countries feed in their commentary on the 'Highlights' tab but as a consolidator, I would like to see the highlights of all the countries for each section (i.e. Sales, Opex and HC). Since this is commentary, PasteValue should be absolutely fine.

    I have an existing way where I am running a macro to copy all the 'Highlights' pages from each Country file into the consolidated file and then linking individual cells in each file to the various sections. For example, I would copy the 'Highlights' page from the 'Germany' file into the 'consolidate' file and then have a formula in Sales!B2 to pull the data from worksheet Germany!A2. While this works, it means adding about 24 more sheets into my workbook which I want to avoid.

    So what I want is as follows:
    1. Open the 'consolidate test' file and hit a macro.
    2. the macro opens each country file in the folder and copies individual sections from the 'Highlights' worksheet into the different tabs on the consolidate file, closes the file and goes to the next one until there are no more files in the folder.

    Appreciate any help in this regard. Am attaching a couple of files to make my point clear.

    Rgds
    Krish
    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)

Similar Threads

  1. How to copy a fix range from multiple workbooks to a master file
    By elderL in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 08-07-2014, 07:32 AM
  2. [SOLVED] Consolidate all data in multiple worksheets of multiple workbooks in one Master file.
    By adil.master in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 07-23-2014, 09:59 PM
  3. Copy/Paste Range of Data from Multiple Workbooks/Worksheets to Master Workbook/Worksheets
    By NumberCruncher311 in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 02-19-2013, 08:21 PM
  4. Copy multiple worksheets into a master worksheet
    By shabbir2812 in forum Excel Programming / VBA / Macros
    Replies: 10
    Last Post: 01-10-2013, 01:31 PM
  5. Replies: 3
    Last Post: 01-05-2013, 02:20 AM
  6. [SOLVED] Copy cells from multiple worksheets and workbooks to one master workbook
    By Concept in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 06-30-2012, 01:42 PM
  7. copy selected range from multiple workbooks into multiple worksheets in one workbook
    By novak100 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 02-13-2012, 05:52 AM

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