+ Reply to Thread
Results 1 to 7 of 7

access to connect two excel databases

  1. #1
    Registered User
    Join Date
    08-25-2013
    Location
    Epsom
    MS-Off Ver
    2013
    Posts
    59

    access to connect two excel databases

    hi,

    I have two databases in excel. Connecting them together with formulas makes process very slow, so as an option i'm thinking of linking one database to access and outputting it to excel, so the changes made in one database reflect in the other one?

    i found on internet its possible, however could not find how. I made a linking excel table in access but cant export it to another workbook.

    Any help is appreciated

    Thanks
    Rome wasn't built in a day

  2. #2
    Valued Forum Contributor ranman256's Avatar
    Join Date
    07-29-2012
    Location
    Kentucky
    MS-Off Ver
    Excel 2003
    Posts
    1,190

    Re: access to connect two excel databases

    you can link 1 excel file into access as a table. (or just import the data into a native table)
    then you can export data to a 2nd excel file via docmd.transferspreadsheet

  3. #3
    Forum Expert dflak's Avatar
    Join Date
    11-24-2015
    Location
    North Carolina
    MS-Off Ver
    365
    Posts
    7,957

    Re: access to connect two excel databases

    You can also eliminate the middle man (Access) there is a data import mechanism call MS-Query that can read data from just about any kind of data source including another Excel Spreadsheet. MS-Query can get the data without opening the other spreadsheet, and can be set up to refresh on open. It also takes SQL statements so you can select just the columns you want and filter just the rows you want.
    One spreadsheet to rule them all. One spreadsheet to find them. One spreadsheet to bring them all and at corporate, bind them.

    A picture is worth a thousand words, but a sample spreadsheet is more likely to be worked on.

  4. #4
    Registered User
    Join Date
    08-25-2013
    Location
    Epsom
    MS-Off Ver
    2013
    Posts
    59

    Re: access to connect two excel databases

    hey folks,

    Thanks for your answers.

    i will now have to look into these options and try them out

  5. #5
    Forum Moderator alansidman's Avatar
    Join Date
    02-02-2010
    Location
    Steamboat Springs, CO
    MS-Off Ver
    MS Office 365 insider Version 2505 Win 11
    Posts
    24,748

    Re: access to connect two excel databases

    As a follow up to dflak, here is a link on how to employ MS Query

    http://exceluser.com/formulas/msquer...ional-data.htm
    Alan עַם יִשְׂרָאֵל חַי


    Change an Ugly Report with Power Query
    Database Normalization
    Complete Guide to Power Query
    Man's Mind Stretched to New Dimensions Never Returns to Its Original Form

  6. #6
    Registered User
    Join Date
    08-25-2013
    Location
    Epsom
    MS-Off Ver
    2013
    Posts
    59
    Quote Originally Posted by alansidman View Post
    As a follow up to dflak, here is a link on how to employ MS Query

    http://exceluser.com/formulas/msquer...ional-data.htm
    That's awesome thanks for this. I was trying to find some resources on how to do that but all I got was receiving an error from the Microsoft Query wizard when trying to create a query of an xlsx or xlsm file - " External table is not in the expected format." looking at the steps it's a completely different to the way I was doing, however I can see in here is about connecting old version too. Do you know if excel file types matter when using this method?
    I will certainly try this

  7. #7
    Forum Expert dflak's Avatar
    Join Date
    11-24-2015
    Location
    North Carolina
    MS-Off Ver
    365
    Posts
    7,957

    Re: access to connect two excel databases

    Alan, thanks. I tried to write an article to explain how to use MS-Query and it's OK but only after you are familiar with it. I've gotten too far away from the basics. I use it with Oracle databases and extremely complex queries that I work out using TOAD or WinSQL.

    tomanton - I read from xlsm, xlsx and even xlsb files. I don't know if I have an old xls file to try it on. I'd have to see your source data to figure out what might be causing the error.

+ 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. Excel Addin to Pull Data from Closed Access Databases
    By zubair57 in forum Access Tables & Databases
    Replies: 0
    Last Post: 04-07-2016, 02:22 PM
  2. Replies: 1
    Last Post: 04-02-2014, 11:39 AM
  3. [NEED HELP] How to connect an Excel with an Access DB
    By basubdd in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 04-04-2013, 03:09 PM
  4. Replies: 0
    Last Post: 03-28-2006, 10:50 AM
  5. How working with Access Databases through Excel 2003 Standar Editi
    By Dennis in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 08-30-2005, 06:05 PM
  6. Working with protected Databases Access through Excel
    By Dennis in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 08-16-2005, 06:05 PM
  7. [SOLVED] Excel query from Access databases
    By Rob in forum Excel General
    Replies: 2
    Last Post: 04-15-2005, 02:06 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