Solved

Adding/Updating Excel Worksheets Linked within MS Access

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

U.S. Department of Agriculture and Acronis Access

With the new era of mobile computing, smartphones and tablets, wireless communications and cloud services, the USDA sought to take advantage of a mobilized workforce and the blurring lines between personal and corporate computing resources.

Question has a verified solution.

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

Excel can be a tricky bit of software to get your head around. Whilst you’ll be able to eventually get to grips with the basic understanding of how to get by, there are a few Excel tips that not everybody will even know about let alone know how to d…
Do you use a spreadsheet like Microsoft's Excel?  Have you ever wanted to link out to a non excel file on your computer or network drive?  This is the way I found to do it!
This Micro Tutorial demonstrates how to create Excel charts: column, area, line, bar, and scatter charts. Formatting tips are provided as well.
This Micro Tutorial will demonstrate in Google Sheets how to use the HYPERLINK function to create live links inside your spreadsheet.

832 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