+ Reply to Thread
Results 1 to 2 of 2

Database Retrieval, Edit, and Upload

  1. #1
    Registered User
    Join Date
    09-18-2015
    Location
    New York
    MS-Off Ver
    2013
    Posts
    31

    Database Retrieval, Edit, and Upload

    Here's my scenario.

    I have an external program that can export a database of information. This can be done via XML, CSV, SQL, ODBC, DSN, etc.
    I have an excel workbook that manages this information. Various formulas, calulations, formatting, etc. It is all based on the same source information from the Database.

    The first tab in my workbook is simply called source, and following tabs and tables will reference the source tab.
    Is there a way to Link values from cell to cell? The actual link function does not seem to help.

    For example:

    Source!$a$1, Sheet2!$a$1, Sheet2!$a$1

    Is there a way to link these three cells so that when I change the value from any tab and have it update in the other tabs? Right now I have Sheets 2 and 3 referencing the Source sheet with index match formulas, but I need to change the value, I have to go find it in the source sheet, which is inefficient.

    Furthermore, after I make these changes, which are reflected in the Source tab by all of the links, I need to export the source sheet back into the database in order to update the external program, via one of the database options I mentioned above.

    Is this possible with Excel, or is the communication strictly a one way import? The external program supports ODBC or SQL, and I have read that it is the most efficient way to interact with the data, but I have no idea how well excel interacts with it, if it is a two way system, etc.

    I might be talking complete nonsense here, so I appreciate your patience.

    Any advice you can lend would be great.

    Thanks,

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

    Re: Database Retrieval, Edit, and Upload

    The following is based on the verbal description and it makes some assumptions. The main assumption is that a cell is linked to its counterpart on the other two sheets. So A1 is linked to A1 and not some other cell. If this is not the case, then you'd need some sort of map showing which cells on which pages are linked.

    Make a change event on each page. Then take the target and copy it to the same address on the other two pages. You'll probably have to disable events so you don't wind up in an infinite loop.
    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.

+ 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. Hyperlin Upload in userform and Save in Database
    By Madara99 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 01-11-2015, 10:08 AM
  2. Problems uploading CSV to mySQL database
    By andrew_long15 in forum Excel General
    Replies: 0
    Last Post: 05-17-2013, 01:02 AM
  3. Multiple User upload en download from Access Database
    By JohnGaltnl in forum Access Programming / VBA / Macros
    Replies: 7
    Last Post: 07-25-2011, 11:05 AM
  4. Database upload
    By floraldecor in forum Excel General
    Replies: 2
    Last Post: 04-22-2009, 09:18 PM
  5. Upload entire sheet to SQL database
    By paulmezick in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 01-06-2009, 07:35 PM
  6. [SOLVED] database ODBC custom formula retrieval and other
    By Aram in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 05-15-2006, 09:30 PM
  7. database query to upload a dbf file
    By sajay in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 09-25-2005, 12:04 AM

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