Go Back  PPRuNe Forums > Misc. Forums > Computer/Internet Issues & Troubleshooting
Reload this Page >

Linking Excel Spreadsheets to an Access Database

Wikiposts
Search
Computer/Internet Issues & Troubleshooting Anyone with questions about the terribly complex world of computers or the internet should try here. NOT FOR REPORTING ISSUES WITH PPRuNe FORUMS! Please use the subforum "PPRuNe Problems or Queries."

Linking Excel Spreadsheets to an Access Database

Thread Tools
 
Search this Thread
 
Old 8th Jan 2007, 10:38
  #1 (permalink)  
Thread Starter
 
Join Date: Feb 2006
Location: Here and there
Posts: 216
Likes: 0
Received 0 Likes on 0 Posts
Linking Excel Spreadsheets to an Access Database

First off, i'd like to say thanks to all of you who have helped me with many technical questions, and I now come to you again with another situation! Here's the problem:

I have an Access database, which is the central data system, and an Excel spreadsheet (actually lots of spreadsheets, but i'll try to keep it as simple as possible for now!) which contains data on a company's products. What I would like to do is to link the Spreadsheet to the Database in such a way that the spreadsheet's data can be viewed in real time in the database, and data can be entered into the database via a form, which then updates the spreadsheet. How would I go about setting up a system like this? The only problem is that, for the moment, it has to be done without importing the spreadsheet into the database as it is required to remain in place because it is updated, and it updates, other external spreadsheets.

Any help would be greatly appreciated!

Cheers,


Ox
Oxeagle is offline  
Old 8th Jan 2007, 10:45
  #2 (permalink)  
 
Join Date: Feb 2000
Location: asia
Posts: 542
Likes: 0
Received 0 Likes on 0 Posts
Linking

Should be easy.

Go to File/Get External Data/Link Tables and then change the file type to xls.

Select the spreadsheet, and away you go.

I am using Access 2000, don't know if the menu has changed in later versions
stickyb is offline  
Old 8th Jan 2007, 13:05
  #3 (permalink)  
Thread Starter
 
Join Date: Feb 2006
Location: Here and there
Posts: 216
Likes: 0
Received 0 Likes on 0 Posts
stickyb,

Problem is that it doesn't automatically update, you have to reopen Access to allow it to recognise the changes. Also, it won't allow me to insert a new entry between existing rows in the linked spreadsheet. Or I havn't figured out how to yet, which is more than likely! Basically, I want to be able to access and modify the Spreadsheet as if it was part of the database, whilst keeping it seperate.

Any more suggestions?

* Just had a thought - Would it be possible to write a macro or VB procedure to re-import data from the Spreadsheet every time a change was made in the database? Or would this take too long or drain system resources?
Oxeagle is offline  
Old 8th Jan 2007, 14:51
  #4 (permalink)  
 
Join Date: Feb 2000
Location: asia
Posts: 542
Likes: 0
Received 0 Likes on 0 Posts
Originally Posted by Oxeagle
stickyb,

Problem is that it doesn't automatically update, you have to reopen Access to allow it to recognise the changes.
I think the refresh or requery property will solve that problem
stickyb is offline  

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off



Contact Us - Archive - Advertising - Cookie Policy - Privacy Statement - Terms of Service

Copyright © 2024 MH Sub I, LLC dba Internet Brands. All rights reserved. Use of this site indicates your consent to the Terms of Use.