473,386 Members | 1,835 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,386 software developers and data experts.

Importing Excel File To MS Access via Switchboard?

Hi! I have this database that needs to be updated regularly with about 60 records per update. However, this data comes from a 3rd party using Excel. I want to create a switchboard that allows users to directly import the excel file into an MS Access table? Is this possible? I am new to MS Access any help would be appreciated.

Thanks.
Sep 20 '15 #1
2 1735
jforbes
1,107 Expert 1GB
There are quite a few ways to connect to Excel from Access. I would recommend trying to Link to Excel from your Access database and then writing whatever routine and/or queries you need to move the information out of Excel into your Access Tables. Then whenever you get a new update, replace the existing Excel file with the new one and run your routines/queries to copy over the new data.

To Link to Excel varies per version of Access, but it's pretty easy to figure out. In 2007, pick External Data on the Ribbon, click Excel, select Link to the Data source by creating a linked table, then just follow the prompts.
Sep 21 '15 #2
hvsummer
215 128KB
bonus: linked table can be refresh, so it'll pull new data into access after you choose refresh it.
create query to update
or you can use adodb to execute strSQL "insert ... into... " in button of a form
or using macro call function with that code.
Sep 22 '15 #3

Sign in to post your reply or Sign up for a free account.

Similar topics

7
by: Bonnie R | last post by:
Hello! I am writing VBA code in Access 97 to import an Excel 2000 Spreadsheet. I had hoped to do this using ODBC, but that was not to be, for who knows what reason. The problem is that I import...
2
by: Don W. Reynolds | last post by:
Hi All, I am sent an excel spreadsheet on a daily basis. Sometimes it contains 10 rows; sometimes it contains over 5000 rows. I copy this spreadsheet into another spreadsheet and verify the...
2
by: T2 | last post by:
I need some code ideas to import Excel into Access using VB. I need to use VB because the Excel column formats are not always consistent. I'm importing a fairly simple spreadsheet. Any...
3
by: Miguel Ramirez | last post by:
Hello all, Is there any way to import an excel file data from user's computer? I want to read all records in the excel file and write the data in a SQL server table. Any help will be really...
1
by: christiekp | last post by:
I am able to import a file from excel to access manually, using the top row as my headings, successfully. however, when using the TransferSpreadsheet command in a macro, importing, excel 5-7, has...
1
by: coolcoder2007 | last post by:
Hi, I have Exported some data in a Excel file using this code- Response.Clear(); Response.AddHeader("content-disposition", "attachment;filename=dependencymatrix.xls"); ...
0
by: Shootah | last post by:
Hi, I have succeeded in adding automated relationships with refference tables after importing an excel file created from a query to an Access database. However I have the following problem: ...
5
by: sejal17 | last post by:
Hello Every one, I am trying to import excel file data in to mysql database table,the code for import excel file is working fine in local system but when i am testing it online webpage it display...
1
by: tinabunnybunny | last post by:
hi i have some excel files which has the same format, with some header rows and they dont belong to one category. i wish to swich them into columns when i importing from excel to access. i dont...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.