Improve company productivity with a Business Account.Sign Up

x
?
Solved

Adding/Updating Excel Worksheets Linked within MS Access

Posted on 2013-05-09
3
Medium Priority
?
380 Views
Last Modified: 2013-05-15
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
Comment
Question by:brothertruffle880
  • 2
3 Comments
 
LVL 12

Expert Comment

by:duttcom
ID: 39154542
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
 

Author Comment

by:brothertruffle880
ID: 39159337
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
 
LVL 12

Accepted Solution

by:
duttcom earned 2000 total points
ID: 39160123
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

Easily Design & Build Your Next Website

Squarespace’s all-in-one platform gives you everything you need to express yourself creatively online, whether it is with a domain, website, or online store. Get started with your free trial today, and when ready, take 10% off your first purchase with offer code 'EXPERTS'.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

A Case Study of using the Windows API to provide RS232 communications capability in Access without the use of Active-X controls.
As a person who answers a lot of questions, I often see code that could be simplified, made easier to read, and perhaps most importantly made easier to maintain if the code was modified to use the Select Case statement. This article explains how to…
Access reports are powerful and flexible. Learn how to create a query and then a grouped report using the wizard. Modify the report design after the wizard is done to make it look better. There will be another video to explain how to put the final p…
The Relationships Diagram is a good way to get an overall view of what a database is keeping track of. It is also where relationships are defined. A relationship specifies how two tables connect to each other. As you build tables in Microsoft Ac…

579 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question