Solved

Adding/Updating Excel Worksheets Linked within MS Access

Posted on 2013-05-09
3
355 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

Visualize your virtual and backup environments

Create well-organized and polished visualizations of your virtual and backup environments when planning VMware vSphere, Microsoft Hyper-V or Veeam deployments. It helps you to gain better visibility and valuable business insights.

Question has a verified solution.

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

In Part II of this series, I will discuss how to identify all open instances of Excel and enumerate the workbooks, spreadsheets, and named ranges within each of those instances.
Code that checks the QuickBooks schema table for non-updateable fields and then disables those controls on a form so users don't try to update them.
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…
Although Jacob Bernoulli (1654-1705) has been credited as the creator of "Binomial Distribution Table", Gottfried Leibniz (1646-1716) did his dissertation on the subject in 1666; Leibniz you may recall is the co-inventor of "Calculus" and beat Isaac…

615 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