+ Reply to Thread
Results 1 to 2 of 2

Multiple excel data loading to seperate workbook

  1. #1
    Registered User
    Join Date
    01-20-2015
    Location
    uk
    MS-Off Ver
    microsoft office student 2019 ver 2201
    Posts
    37

    Multiple excel data loading to seperate workbook

    Hi,

    I have some basic excel understanding of using functions. Today came across a situation where I have 10 different excel sheets stored at a shared location. All sheet has same format and size of data.
    I needed to open one excel sheet copy its selective data from and paste it to another workbook say 'consolidated' which is also stored at shared location.
    Then open second sheet from stored location copy selected data and paste it to 'consolidated' as second set of record.

    Then open third and so on.

    Its manageable upto certain exten but number of sheets are going to increase.

    I was looking for some time saving way of doing this. May be a copy button to the first excel clicking loads data into 'consolidated' then I open another click on copy which will move data to 'consolidated'.

    Data is like

    Excel 1

    A1-Part Number B1-10
    A2-Subpart 1 B2-6
    A3 Subpart 2 B3-8
    A4 Subpart 3 B4 -10

    Sheet 2

    A1-Part Number B1-20
    A2-Subpart 1 B2-10
    A3 Subpart 2 B3-12
    A4 Subpart 3 B4 -14

    Consolidated workbook
    Part Number 10
    Subpart 1 6
    Subpart 2 8
    Subpart 3 10
    Part Number 20
    Subpart 1 10
    Subpart 2 12
    Subpart 3 14

    Actually I have to open all the sheets and then click copy which will move data to consolidated workbook..
    Attaching sample.
    Please advise. Many thx in advance.
    Attached Files Attached Files

  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: Multiple excel data loading to seperate workbook

    'WORKBOOKS TO 1 SHEET STACKED
    Here's a macro for collecting data from all files in a specific folder.The parts of the code that need to be edited are colored to draw your attention.


    I have no idea the effects of the source docs being on a shared drive... just get the fPATH correct.
    Last edited by JBeaucaire; 12-26-2019 at 04:07 PM.
    _________________
    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. Use userform to add data to seperate workbook using combo box to select workbook.
    By thomastturner in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 08-28-2015, 03:19 PM
  2. Replies: 6
    Last Post: 01-26-2014, 07:49 PM
  3. [SOLVED] Master workbook to pull data from second workbook into seperate sheet
    By djm601 in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 01-16-2013, 09:24 AM
  4. Filter data on seperate workbook and paste on current workbook
    By ZeDoctor in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 06-28-2012, 08:08 AM
  5. Print workbook to Multiple PDF's (Each worksheet is a seperate PDF)
    By omarq in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 09-03-2010, 07:34 AM
  6. group data from multiple worksheets into a seperate workbook
    By ashlegg in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 03-19-2008, 06:30 AM
  7. Inserting data into a seperate Excel workbook
    By Jon in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 01-12-2005, 03:06 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