Import Access Table Into Excel

  • SEE EXCEL IMPORT ASSISTANT


    Hi, all
    I impoto a sheet value into access table (with the controll of duplicate column S in the sheet and field SERVIZIO in the table)
    NOTE:THE COLUMN s IN THE SHEET IS HIDE)
    All ok!
    My actual problem is to have the reverse mode: Access table in the sheet of excel (add up the new records not found in sheet)
    there is the MDB file:


    http:/www.gssitaly.com/prova.zip


    This is the code to import sheet into access:

  • you can use ADO in reverse...


    you would simply need to first build a NOT IN Clause to exclude the values already present in your database


    then run some sql


    eg assuming your data in XL is on sheet1 from row 2 onwards...and say the field you will use in your clause is in cell 1 and called "ID"... and you want to put the new data from your .mdb into sheet2


    a very simple example would be as follows (note this is actually MYSQL Sql syntax... I don't use MS Access very much so it may need tweaking)


Participate now!

Don’t have an account yet? Register yourself now and be a part of our community!