Results 1 to 7 of 7
  1. #1
    leamas is offline Novice
    Windows Vista Access 2010 32bit
    Join Date
    May 2012
    Posts
    21

    Linking Tables within Access to a linked Excel table

    I'm trying to use a template to track assets-specifically this template:



    http://office.microsoft.com/en-us/te...001018459.aspx

    Is there a way I can link an excel doc to my database that provides all of my data, that is thereby linked to other tables within Access?

    Please let me know if I should rephrase my question.

    I want my data to be updated as it is manipulated within the independent excel doc when I open access.

    Thank you in advance for your help!!

  2. #2
    June7's Avatar
    June7 is offline VIP
    Windows XP Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    52,902
    The linked Excel and tables can be joined in queries but changing data in the tables would require running UPDATE and/or INSERT sql actions.
    How to attach file: http://www.accessforums.net/showthread.php?t=70301 To provide db: copy, remove confidential data, run compact & repair, zip w/Windows Compression.

  3. #3
    leamas is offline Novice
    Windows Vista Access 2010 32bit
    Join Date
    May 2012
    Posts
    21
    Or perhaps I don't need a linked table, just import data to excel. Please help!

  4. #4
    June7's Avatar
    June7 is offline VIP
    Windows XP Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    52,902
    I am now confused. You want to update the Excel or the Access tables? Which way is the data flowing?

    Excel can link to Access table or Access can link to Excel sheet.
    How to attach file: http://www.accessforums.net/showthread.php?t=70301 To provide db: copy, remove confidential data, run compact & repair, zip w/Windows Compression.

  5. #5
    leamas is offline Novice
    Windows Vista Access 2010 32bit
    Join Date
    May 2012
    Posts
    21
    Basically, I'm trying to fill the template with my data. Ideally, I would like the data to be automatically updated as it is changed in the original and independent excel document. I understand this may be difficult, so simply importing my data to the template would be sufficient.

    I am very new to Access. The template offers everything I need such as asset categories, departments, maintenance and status. I simply have to much data to manually input. I understand I will need to change the forms to accomodate my needs but I would like to have the database filled with my data.
    Data will be flowing into Access from Excel, but like I said before, this is not a requirement.

    Thank you for your help!

  6. #6
    June7's Avatar
    June7 is offline VIP
    Windows XP Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    52,902
    You want to do a one-time import of data from Excel into Access database?

    If not too much data, simple copy/paste of records might get you through the transition.

    Otherwise, if the sheet structure is simple enough, try setting links to the Excel sheets then run INSERT SELECT query to populate the tables with the linked sheets as the data source. Review: http://www.sqlteam.com/article/using...insert-records

    If linking fails, will require VBA code to pull data from the Excel into tables.
    How to attach file: http://www.accessforums.net/showthread.php?t=70301 To provide db: copy, remove confidential data, run compact & repair, zip w/Windows Compression.

  7. #7
    leamas is offline Novice
    Windows Vista Access 2010 32bit
    Join Date
    May 2012
    Posts
    21
    Thank you, your help is very appreciated!!

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

Similar Threads

  1. Replies: 3
    Last Post: 01-03-2012, 12:28 PM
  2. Excel Linked Table not Updating
    By BillH in forum Import/Export Data
    Replies: 1
    Last Post: 06-09-2011, 08:37 AM
  3. Replies: 1
    Last Post: 04-25-2011, 12:36 PM
  4. Replies: 0
    Last Post: 03-04-2011, 10:28 AM
  5. Linking Access Table with already imported External Data (Excel)
    By izzarshah in forum Import/Export Data
    Replies: 1
    Last Post: 07-29-2010, 09:40 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