+ Reply to Thread
Results 1 to 6 of 6

Refreshing a Table imported from Excel

  1. #1
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898

    Refreshing a Table imported from Excel

    Hi All,

    If I created a table in Access from importing a spreadsheet, what is the best way that I can update that table when the spreadsheet changes, instead of deleting the table and re-importing it?

    Thanks in advance.
    Last edited by NBVC; 01-06-2009 at 09:58 PM.
    Where there is a will there are many ways.

    If you are happy with the results, please add to the contributor's reputation by clicking the reputation icon (star icon) below left corner

    Please also mark the thread as Solved once it is solved. Check the FAQ's to see how.

  2. #2
    Forum Expert Ron Coderre's Avatar
    Join Date
    03-22-2005
    Location
    Boston, Massachusetts
    MS-Off Ver
    2013, 2016, O365
    Posts
    6,996

    Refreshing a Table imported from Excel

    Can you link to the Excel file....instead of importing it?
    Ron
    Former Microsoft MVP - Excel (2006 - 2015)
    Click here to see the Forum Rules

  3. #3
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898
    Not sure, Ron.

    I am not at all good with Access..

    I will be running an Append Query using this table and appending it to my company's database.

    Should linking work? If so, how?

  4. #4
    Forum Expert Ron Coderre's Avatar
    Join Date
    03-22-2005
    Location
    Boston, Massachusetts
    MS-Off Ver
    2013, 2016, O365
    Posts
    6,996

    Refreshing a Table imported from Excel

    The data area of the Excel sheet must be structured like a table
    (Field headings, consistent data types in columns, etc)
    Also...it would make the linking easier if you create a Range Name for the data
    ....AND...Using a Named Range means that other, non-table data
    can be on the sheet. It will be ignored when you link to the Range Name.

    Then...from Access:
    <file><get external data><link tables>
    Files of type: xls
    • Navigate to...and select...your file.
    • Check: Show Named Ranges
    • Select your data range (eg rngMyData)
    Follow the Wizard steps....Done!

    Then you can use that linked table as if it were a native MSA table.

    Does that help?

  5. #5
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898
    Excellent...

    That works well, Ron.

    Thanks Much.

  6. #6
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898
    Can't seem to mark thread solved... I will amend title for now and wait for Admin to fix.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

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