+ Reply to Thread
Results 1 to 2 of 2

Creating an Excel Report from 7 separate files using VBA

  1. #1
    Registered User
    Join Date
    01-12-2016
    Location
    Utrecht, The Netherlands
    MS-Off Ver
    Windows 7
    Posts
    2

    Creating an Excel Report from 7 separate files using VBA

    This is what I have:
    - 1 Excel report with consolidated data for all customers
    - 6 separate Excel files with detailed information per product, also for all customers
    - Refer to attached Excel template as example

    For all company names in tab “company list” it should create a separate Excel report with:
    - The consolidated data in a separate tab
    - If there is detailed information, this information should be copied from one of the 6 separate Excel files into a separate tab in the new workbook (next to the consolidated data tab)
    - If there is no detailed information for that company, it must continue to the next detailed file

    I know how to create a macro for the copy/paste exercise but not how to automate this for all 7 separate files in one go. Therefore my question:
    Is it possible to create 1 macro that copies all information related to company_1 out of the 7 separate files and paste it into a new file in separate tabs?

    Response very much appreciated!

    Template macro.xlsx

  2. #2
    Forum Expert Arkadi's Avatar
    Join Date
    02-13-2014
    Location
    Smiths Falls, Ontario, Canada
    MS-Off Ver
    Office 365
    Posts
    5,059

    Re: Creating an Excel Report from 7 separate files using VBA

    Duplicate post:

    http://www.excelforum.com/excel-prog...using-vba.html
    Please help by:

    Marking threads as closed once your issue is resolved. How? The Thread Tools at the top
    Any reputation (*) points appreciated. Not just by me, but by all those helping, so if you found someone's input useful, please take a second to click the * at the bottom left to let them know

    There are 10 kinds of people in this world... those who understand binary, and those who don't.

+ 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. Creating an Excel Report from 7 separate files using VBA
    By Ewoutvm in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 01-14-2016, 02:15 PM
  2. Replies: 0
    Last Post: 07-27-2015, 01:06 PM
  3. PPT pages as separate files with files names from Excel
    By Amarjeet Singh in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 05-06-2015, 05:42 AM
  4. Replies: 0
    Last Post: 07-14-2008, 10:58 AM
  5. Open Separate Excel Files in Separate Windows
    By JTWood in forum Excel General
    Replies: 3
    Last Post: 05-07-2006, 05:18 PM
  6. [SOLVED] Creating separate files from multiple sheets
    By Shuvro Basu in forum Excel General
    Replies: 1
    Last Post: 04-24-2006, 09:55 AM
  7. [SOLVED] Open Excel files in separate sessions, not just separate windows?
    By Bob at Dexia Design in forum Excel General
    Replies: 1
    Last Post: 10-18-2005, 01:05 PM

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