Go Premium for a chance to win a PS4. Enter to Win

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 371
  • Last Modified:

Adding/Updating Excel Worksheets Linked within MS Access

Stupid question?
How come you can't update a worksheet linked to an MS ACCESS database file.
You can update other Access tables, You can updated other companies tables. but NOT Excel worksheets?
This makes no sense whatsoever!
0
brothertruffle880
Asked:
brothertruffle880
  • 2
1 Solution
 
duttcomCommented:
Do you mean why can't you update an Excel sheet from within Access?

I am assuming you are aware that you can at least update an Excel file which is linked to an Access database. Not especially useful if you've gone to all the trouble of making a nice GUI in Access!

I believe Excel files can't be updated from Access because the updating and saving process requires manual intervention, rather than the real-time saving and updating that occurs with databases such as Access or SQL. It makes sense if you think about the fact that Access does not prompt you to save your work, whereas Excel does.

Oddly though, it is possible to update an Excel file from a data integration project in BIDS.
0
 
brothertruffle880Author Commented:
Yes.  that's what I mean.  I'm in Access database "A" and have a link to an excel worksheet "B"   I can look at the worksheet but I can't updated it, add records, etc.
0
 
duttcomCommented:
Yes you can.

If you select "Link to the data source by creating a linked table" when opening your Excel workbook, then you can update the Excel spreadsheet and the changes will appear in Access.

That said, the changes will not automatically appear in Access until you save the Excel file and then update the table using the Linked Table Manager. You can right-click on the linked sheet and get to the Linked Table Manager from there, or you can find it on the External Data tab.

If you select the linked table/s and click OK, the table will be updated from the linked sheet.

linked table manager
If you have the linked table open in Access when you update it, you will not see the updated information until you close and reopen the table.
0

Featured Post

How to Use the Help Bell

Need to boost the visibility of your question for solutions? Use the Experts Exchange Help Bell to confirm priority levels and contact subject-matter experts for question attention.  Check out this how-to article for more information.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now