Results 1 to 25 of 25

VBA to copy data from multiple workbooks to Master Workbook

Threaded View

  1. #1
    Registered User
    Join Date
    02-13-2012
    Location
    Australia
    MS-Off Ver
    Excel 2007
    Posts
    35

    VBA to copy data from multiple workbooks to Master Workbook

    I have 4 workbooks which each contain a sales log. 1 is a Master Log and 3 are maintained by separate users. I am looking for the easiest way to update the Master Log with the data from the other 3 workbooks that is fast, user friendly and avoids data being corrupted by the users.

    Open to suggestions other than the following, however if this is an appropriate solution would appreciate the help in writing the VBA...

    Attached is a sample of how the data is ordered -- I have considered using named ranges and running a macro in the Master Log that would:-
    1. Open Sales Person 1 Workbook
    2. Copy Range1
    3. Paste Range1 data (values only) in Master Log Range1
    4. Close Sales Person 1 Workbook
    5. Repeat for Sales Person 2 and 3 Workbook
    6. Save and close Master Log

    Will also need to consider ensuring each worksheet is sorted. All sheets are named the same in each workbook.

    Thanks in advance.
    Master Log.xlsx
    Sales Person 1.xlsx
    Sales Person 2.xlsx
    Sales Person 3.xlsx
    Last edited by wotsup; 02-17-2012 at 11:39 AM.

Thread Information

Users Browsing this Thread

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

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