+ Reply to Thread
Results 1 to 3 of 3

Import data from multiple workbooks to a certain workbook

  1. #1
    Registered User
    Join Date
    04-13-2017
    Location
    Rotterdam, Nederland
    MS-Off Ver
    2010
    Posts
    2

    Smile Import data from multiple workbooks to a certain workbook

    Greetings everyone,

    Daily i receive 6 different xls/xlsx files. Those files contain data in certain cells (always in fixed positions) which i need to compare with data of a 7th xls file (again in fixed positions). The files always have same names as 1.xls, 2.xlsx, 3.xlsx, 4.xls, 5.xlsx, 6.xlsx. Although, the file end may vary from xls to xlsx and folder name is not the same, but all files are in the same folder every time. Thats it, i just need to import the data of those files to the 7th file and then simply subtract to ensure that there is not a value difference. To be more specific, i need to import:

    1) from 1.xls sheet (Bankstanden) cells (M15, N9) placed on cells (V5, W5) respectively,
    2) from 2.xlsx sheet (summary) cells (B8, D8, C8, B7, D7, B7) placed on (V11, V12, V13, W11, W12, W13) respectively,
    3) from 3.xlsx sheet (0317) cells (H13, H26, H37, H51, H57, H63) placed on (Y26, Y27, Y28, Y31, Y32, Y33) respectively,
    4) from 4.xls sheet (CASH MS FRANCE) cells (B45, H34) placed on (AD5, AD11) respectively,
    5) from 5.xls sheet (0767) cells (E9/1000, E10/1000) placed on (V14, Z14) respectively,
    6) from 6.xlsx sheet (Russia_Lithuania) cells (R5, R4) placed on (Y34, Y35 respectively,

    since i am new to VBA and macros i am in a major struggle to find the solution which i need for my job. If you could provide me the code i would really appreciate it! Thank you!

  2. #2
    Forum Guru
    Join Date
    07-25-2011
    Location
    Florida
    MS-Off Ver
    Excel 2003
    Posts
    9,643

    Re: Import data from multiple workbooks to a certain workbook

    Try this. It prompts you to select the source folder.

    Please Login or Register  to view this content.
    Last edited by AlphaFrog; 04-13-2017 at 01:37 PM.
    Surround your VBA code with CODE tags e.g.;
    [CODE]your VBA code here[/CODE]
    The # button in the forum editor will apply CODE tags around your selected text.

  3. #3
    Registered User
    Join Date
    04-13-2017
    Location
    Rotterdam, Nederland
    MS-Off Ver
    2010
    Posts
    2

    Re: Import data from multiple workbooks to a certain workbook

    Yes indeed it works! Plus it does exactly what i needed! Thank you Very Very much! This helped a lot!

+ 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. Export/ Retrieve specific data from multiple workbooks and Import into Master workbook
    By SerenitynWisdom in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 07-29-2013, 10:41 PM
  2. Modify exiting Macro Export data from multiple workbooks and Import into 1 Master workbook
    By SerenitynWisdom in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 07-24-2013, 11:55 PM
  3. How to Import Data From Same Sheet In Multiple Workbooks In To Single Workbook.
    By jorrg1 in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 05-10-2013, 05:11 AM
  4. Replies: 0
    Last Post: 04-16-2013, 10:27 AM
  5. [SOLVED] Import data from multiple workbooks into master workbook
    By Jeepster325 in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 03-07-2013, 06:44 PM
  6. [SOLVED] Copy specific cells from multiple workbooks and import them to a master workbook
    By Alby22 in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 06-28-2012, 12:45 PM
  7. Import multiple csv workbooks into master workbook
    By wruwtrix in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 07-14-2009, 12:02 AM
  8. [SOLVED] import multiple workbooks into 1 workbook
    By Anita in forum Excel General
    Replies: 10
    Last Post: 03-07-2005, 10:52 PM

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