Solved

Adding/Updating Excel Worksheets Linked within MS Access

Posted on 2013-05-09
3
301 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 500 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

Comprehensive Backup Solutions for Microsoft

Acronis protects the complete Microsoft technology stack: Windows Server, Windows PC, laptop and Surface data; Microsoft business applications; Microsoft Hyper-V; Azure VMs; Microsoft Windows Server 2016; Microsoft Exchange 2016 and SQL Server 2016.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

In a multiple monitor setup, if you don't want to use AutoCenter to position your popup forms, you have a problem: where will they appear?  Sometimes you may have an additional problem: where the devil did they go?  If you last had a popup form open…
This code takes an Excel list of URL’s and adds a header titled “URL List”. It then searches through all URL’s in column “A”, looking for duplicates. When a duplicate is found, it is moved to the top of the list. The duplicate URL’s are then highlig…
The viewer will learn how to use a discrete random variable to simulate the return on an investment over a period of years, create a Monte Carlo simulation using the discrete random variable, and create a graph to represent the possible returns over…
This Micro Tutorial will demonstrate in Microsoft Excel how to add style and sexy appeal to horizontal bar charts.

867 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

Need Help in Real-Time?

Connect with top rated Experts

17 Experts available now in Live!

Get 1:1 Help Now