+ Reply to Thread
Results 1 to 2 of 2

Open 5 workbooks to make a report

  1. #1
    Registered User
    Join Date
    12-09-2013
    Location
    Home
    MS-Off Ver
    Ms 2010
    Posts
    32

    Open 5 workbooks to make a report

    HEllo!
    I am today here to get some friendly information ...
    if you know code then would be great if i could get it
    From start .. i want to load 5 excel files from directory of folder .. okay we guess it will be (c:\folder)
    and after that when i get those 5 files loaded to excel ... i would need to make a report from them ... in each file there is 12 sheets of information ...
    and then i could slowly make up a code for
    I think the code could start something like this
    Please Login or Register  to view this content.
    If code is inncorect please let me know and provide please with workking code ... !
    would be happy!

  2. #2
    Forum Expert JBeaucaire's Avatar
    Join Date
    03-21-2004
    Location
    Bakersfield, CA
    MS-Off Ver
    2010, 2016, Office 365
    Posts
    33,492

    Re: Open 5 workbooks to make a report

    If I was going to make a report from 60 worksheets (12 sheets in 5 workbooks) or more, I'd first consolidate all the data into a single worksheet so all standard builtin functions and features could be applied against that single database.

    'WORKBOOKS TO 1 SHEET STACKED
    Here's a macro for collecting data from all files in a specific folder.Further down on that page is a "option" showing you how to add in code to cycle through multiple sheets in each opened workbook, you'll need to add that in at the correct spot.
    Last edited by JBeaucaire; 12-27-2019 at 04:06 AM.
    _________________
    Microsoft MVP 2010 - Excel
    Visit: Jerry Beaucaire's Excel Files & Macros

    If you've been given good help, use the icon below to give reputation feedback, it is appreciated.
    Always put your code between code tags. [CODE] your code here [/CODE]

    ?None of us is as good as all of us? - Ray Kroc
    ?Actually, I *am* a rocket scientist.? - JB (little ones count!)

+ 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] Open workbooks update the main one and close the other workbooks
    By stojko89 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 07-18-2013, 07:12 AM
  2. [SOLVED] Open Multiple Workbooks, Record names, Copy paste to Active Workbook, Close the Workbooks
    By vba_madness in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 01-24-2013, 06:09 AM
  3. make numerous workbooks open in excel
    By Tom123 in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 11-11-2011, 02:22 PM
  4. How to make Workbooks.Open skip password protected files
    By hoffey in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 09-24-2009, 11:01 AM
  5. Replies: 0
    Last Post: 06-25-2007, 11:56 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