+ Reply to Thread
Results 1 to 4 of 4

Extracting specific data from multiple workbooks to one masterworkbook by VBA

  1. #1
    Registered User
    Join Date
    04-01-2020
    Location
    Netherlands
    MS-Off Ver
    2019
    Posts
    2

    Extracting specific data from multiple workbooks to one masterworkbook by VBA

    Hi All,

    I am new to VBA, nevertheless I have been through some tutorials. They were mostly about how to extract data from multiple workbooks to one master workbook, but in all of the cases, they took ALL of the data from each workbook.

    In my case, I only need some cells from imput workbooks who are all stored in the same folder.

    These cells are in every workbook on the same position. In fact, I only want to copy and paste the values of these cells so they fit nicely into one row of the master output workbook always in the same order. So I don't want to extract headers. In this master workbook each row is the data from one input workbook starting from row 2 to endless.

    In attachement i have put:
    - the output master workbook where: Row 2 is an example of how the data should be and Row 3 shows the source of this data (just for showing you, this will not be necessary in the real masterworkbook)
    - one of the input workbooks where the cells are highlighted who have to become extracted


    I already started on a VBA code, but I have no idea how to complete it. I tried to extract one value already (for exemple cells BCDE3), but with this code it gives an error. Can someone get me one the right path please?

    HTML Code: 

    Many thanks,

    Thms V
    Attached Files Attached Files

  2. #2
    Forum Guru
    Join Date
    08-15-2004
    Location
    Tokyo, Japan
    MS-Off Ver
    2013 O.365
    Posts
    22,522

    Re: Extracting specific data from multiple workbooks to one masterworkbook by VBA

    What is
    Please Login or Register  to view this content.
    ?

  3. #3
    Forum Guru
    Join Date
    08-15-2004
    Location
    Tokyo, Japan
    MS-Off Ver
    2013 O.365
    Posts
    22,522

    Re: Extracting specific data from multiple workbooks to one masterworkbook by VBA

    my guess
    If all the worksheet name is common like "Table 1" then
    Please Login or Register  to view this content.

  4. #4
    Registered User
    Join Date
    04-01-2020
    Location
    Netherlands
    MS-Off Ver
    2019
    Posts
    2

    Re: Extracting specific data from multiple workbooks to one masterworkbook by VBA

    Hi Jindon,

    With this code I can continue. Thank you.


    Thomas

+ 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. Extracting data from multiple workbooks into one
    By henke_a_ in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 12-21-2018, 07:37 AM
  2. Macro for extracting data from multiple worksheets from multiple workbooks
    By Piulitsa in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 09-09-2018, 02:50 PM
  3. [SOLVED] Accumulate all data in Masterworkbook from various other workbooks in the folder
    By harman83 in forum Excel Programming / VBA / Macros
    Replies: 10
    Last Post: 11-13-2015, 12:44 AM
  4. Replies: 0
    Last Post: 07-29-2013, 03:00 AM
  5. Extracting and combining data from specific sheet from multiple workbooks
    By aggies2010 in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 02-19-2013, 03:39 PM
  6. [SOLVED] copy rows from 42 workbooks into masterworkbook
    By kandre in forum Excel Programming / VBA / Macros
    Replies: 18
    Last Post: 10-04-2012, 10:08 AM
  7. Extracting Data from specific Cells in many different workbooks into one row
    By Ebun in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 10-02-2011, 06:55 AM

Tags for this Thread

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