Results 1 to 5 of 5
  1. #1
    Swade730 is offline Novice
    Windows 10 Access 2007
    Join Date
    Jan 2016
    Posts
    4

    Using Excel to update Access Database

    Hi,



    I'm hoping to get guidance on where I can find resources on using an Excel workbook to Update an Access Database.

    Let's say for example the database manages basketball player stats...
    and
    I want to use an excel workbook to enter the info/stats such as points, rebounds, steals etc..., to click a button and have that info appear now in access.

    But when the Database updates, I want understand how to have it so that...

    1. any info I enter overrides any previous data for that player
    -as well as -
    2. add a new line of data for the player (keeping the previous data)

  2. #2
    ranman256's Avatar
    ranman256 is offline VIP
    Windows Vista Access 2010 32bit
    Join Date
    Apr 2014
    Location
    Kentucky
    Posts
    9,525
    you can do it either way, 1 or 2.
    I have a generic import xl file, Import.xls.
    I save my latest data to over write this import workbook.
    The Import.xls file is linked as a table inside access.
    so then I just run a macro.

    1. overwrite the import.xls
    2. run import macro.
    done.

    The import macro can have queries to either add to exising, or overwrite data in the tables.
    your choice.

  3. #3
    Swade730 is offline Novice
    Windows 10 Access 2007
    Join Date
    Jan 2016
    Posts
    4
    Quote Originally Posted by ranman256 View Post
    you can do it either way, 1 or 2.
    I have a generic import xl file, Import.xls.
    I save my latest data to over write this import workbook.
    The Import.xls file is linked as a table inside access.
    so then I just run a macro.

    1. overwrite the import.xls
    2. run import macro.
    done.

    The import macro can have queries to either add to exising, or overwrite data in the tables.
    your choice.
    Do you have the example you share or attach here?

  4. #4
    Join Date
    Apr 2010
    Location
    Steamboat Springs
    Posts
    2,529
    Alternatively, if your data is normalized in your excel file, you can link your Excel table/file to Access and it will act as if it were a table within Access. It is updated in Access as it is updated in Excel.

  5. #5
    Join Date
    Apr 2010
    Location
    Steamboat Springs
    Posts
    2,529

Please reply to this thread with any new information or opinions.

Similar Threads

  1. Replies: 7
    Last Post: 03-22-2015, 02:29 AM
  2. Replies: 4
    Last Post: 12-16-2014, 03:31 AM
  3. Replies: 3
    Last Post: 01-23-2013, 04:34 PM
  4. Replies: 1
    Last Post: 01-09-2013, 04:11 PM
  5. Replies: 5
    Last Post: 05-16-2012, 12:48 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Other Forums: Microsoft Office Forums