473,545 Members | 2,032 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Error importing Excel data into Access...

I have worked very little with Access and have hit a snag.

My task right now is to import the data from a spreadsheet into an
existing table in an Access database. I edited the .xls file so that
fields are laid out the same L-R and made certain that the data is the
same in both the .xls file and the table it is to be imported to have
the same data type in each field.

I follow the File>Get External Data>Import path and choose the .xls
file I want to import, select the correct worksheet, check the box to
make sure the first row is read as column headings, select the
existing table it is to be imported to, and get an error message each
time:

'An error occured while trying to import the file: "(file name)". File
could nto be imported'.

I've also tried importing it into a new table, which works; but when I
try to import the data from the new table into the existing table I
get the same error.

This .xls file has some 3000 rows in it and each needs to be a record
in this table. Is there any way short of manually keying in the data
that I can make it work. I'm certain there must be a way and my
limited knowledge of Access is preventing me from finding it.

Many Thanks,
Jeremy

Feb 6 '07 #1
1 3094
On Feb 6, 12:47 pm, "puremeta...@gm ail.com" <puremeta...@gm ail.com>
wrote:
I have worked very little with Access and have hit a snag.

My task right now is to import the data from a spreadsheet into an
existing table in an Access database. I edited the .xls file so that
fields are laid out the same L-R and made certain that the data is the
same in both the .xls file and the table it is to be imported to have
the same data type in each field.

I follow the File>Get External Data>Import path and choose the .xls
file I want to import, select the correct worksheet, check the box to
make sure the first row is read as column headings, select the
existing table it is to be imported to, and get an error message each
time:

'An error occured while trying to import the file: "(file name)". File
could nto be imported'.

I've also tried importing it into a new table, which works; but when I
try to import the data from the new table into the existing table I
get the same error.

This .xls file has some 3000 rows in it and each needs to be a record
in this table. Is there any way short of manually keying in the data
that I can make it work. I'm certain there must be a way and my
limited knowledge of Access is preventing me from finding it.

Many Thanks,
Jeremy
One other thing, I attempted to save the .xls file in both .csv
and .txt format and got the same result - the import error. Comma
delimited came closest to working, but it didn't like the field names
in the .csv file and errored out as a result.

Feb 6 '07 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

11
3384
by: Grim Reaper | last post by:
I am importing a .csv file into Access that has 37 fields. My problem is that sometimes the last field only has data at the end of the column (it looks like when you import a file into Access, for the last field, it only checks the top few 'cells' to see if there is any data, if not, the field is not imported). How do I 'force' Access to...
2
2472
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 format of the data (some data is missing, which I can add, some 15 digit data needs to be text rather than numeric, sometimes the incoming numbers are...
7
3035
by: Darren | last post by:
I have been attempting to create a reservation planning form in excel that imports Data from an Access database and inserts that information automaticly into the correct spreed sheet and the correct cells within that worksheet. The Excel Book is made up of 12 worksheets named Jan-Dec. Each worksheet has columns labeled as each day of that...
1
2447
by: Geoff Jones | last post by:
Hi I have a question which I hope somebody can answer. I have written a VB application with which I want to import an Excel file, analyze the data within it and do some calculations. There are in fact five sheets in the Excel file. My original idea was to import the file into access and create a database file; which I did and worked...
1
4644
by: winzy | last post by:
I have a table in Access which needs updating from an Excel file. Instead of importing the whole Excel like a new table in Acess, how do I do a partial import/update?? For example, Access table has 100 rows of records and 10 columns of attributes. The Excel table has only 50 rows of records and and 2 attributes. The key IDs for the 50 rows...
5
3155
by: hharriel | last post by:
Hi, I am hoping someone can help me with an issue I am having with excel and ms access. I have collected data (which are in individual excel files) from 49 different school districts. All districts have used the same excel template and populated the same 32 data fields (columns). I created one large excel file from all 49 files which gives...
2
1910
by: ScardyBob | last post by:
Hello, I am having trouble importing data from an Excel Worksheet. When I try to import the data, everything works except certain columns that contain dates, where it replaces the date with a null in the access table. To import the data I do the following. 1. Create a table based on the excel spreadsheet setup with the following query...
3
3337
by: mukeshsrivastav | last post by:
dear sir i want to move form excel to access. i have 5 excel file having same formats and fields.now i want to import all data in one access table. importing one file is easy .but importing and appending second file in last of the access table created earlier by importing data. thanks .plz help me.
0
7475
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main...
0
7409
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language...
0
7664
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. ...
0
7921
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that...
1
7437
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For...
1
5343
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes...
0
4958
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert...
0
3446
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
720
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating...

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.