473,781 Members | 2,335 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Exporting Excel to Access

I have a Access database with a large amount of records (close to
500,000) that I would like to export to Excel. I found out that Excel
has the capability of of about 65,000 rows so I know I cannot export
the whole file at once. What I would like to do is divide the
database records into smaller groups that Excel can handle.

Does anyone know how I can export a group of records to Excel without
getting an error? I tried exporting 60,000 lines to Excel which would
be the ideal amount, but an error message popped up. I cut the amount
to 40,000, but the same thing happened. Is there a maximum limit to
the number of lines I can export? Any help would be very much
appreciated!

Thank you,
Janet
Nov 12 '05 #1
5 11694
Umm... what error did you get? What code did you use to export the
data? Does a line in your code get highlighted? If so, which one?
Nov 12 '05 #2
Thanks for your response. I'm not too familiar with using Microsoft
Access, so I'm not sure what you mean by "code."

Here's what I did:
I opened a *.csv file with 466,000 rows in Access. When the file was
opened in Access, I clicked on File-> Export-> to the file location to
be saved (as an Excel file). I then got the message, "You selected more
records than can be copied onto the Clipboard at one time." Then
another message popped up, "Divide the records into two or more groups,
and then copy and paste one group at a time. The maximum number of
records you can paste at one time is approximately 65,000." Another
message, "There are too any rows to output, based on the limitation
specified by the output format or by Microsft Access."

Then, I typed in record 65,000 to take me to that record and highlighted
all the records preceding it and clicked on File-> Export, as *.xls.
Next I clicked on "save formatted," and then "save selection" from the
drop down box on the right. The same message popped up: "There are too
many rows to output...."

I tried fewer rows each time, to see what the limit was. The maximum
limit seems to be somewhere between 16250 and 16500 records.

I'm not sure why it's not allowing me to copy over the 65,000 rows that
it claimed to.

I hope what I typed above makes sense. Any help would be appreciated.


*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!
Nov 12 '05 #3
Janet Sudo previously wrote:
I tried fewer rows each time, to see what the limit was. The maximum
limit seems to be somewhere between 16250 and 16500 records.

I'm not sure why it's not allowing me to copy over the 65,000 rows that
it claimed to.


Because the default format for the export that you are running is Excel 5
format which had a limit of 16K rows.

To solve your problem you will have to create queries which select
separate groups of 65K records and output them using Transferspreads heet
which allows you to select the Excel format for 97-2000+.

Regards

Peter Russell

Nov 12 '05 #4
Why do you want to move from a single Access database holding all records to
multiple excel files? A single central repository of the records is easier to
handle rather than multiple files. Is the issue unfamiliarity with Access?

You need to create a number of queries that will select the number of records
that you can import into an Excel spreadsheet. Make sure that each query is
selecting records not selected by other queries, so no duplicates. Can you
identify a unique identifier (one or more columns) for each record?

To export the records, choose the query you want to export and go to
File-Export. It will prompt for the name of the file and the type and then
create that file.

Make sure that you can account for all records and ensure that all records have
been export to the various Excel files.

If unfamiliarity with Access is the issue, consider taking some time to review
Access before discounting it. Use the best tool for the job, not necessarily
the tool you know.

If all you have is a hammer, everything looks like a nail...

Bill
Nov 12 '05 #5
Users' familiarity with Excel is usually the issue, in my experience,
closely followed by the cost of licencing the MS Access application to
non-developers.
Why do you want to move from a single Access database holding all records to
multiple excel files? A single central repository of the records is easier to
handle rather than multiple files. Is the issue unfamiliarity with Access?
<snip>
If unfamiliarity with Access is the issue, consider taking some time to review
Access before discounting it. Use the best tool for the job, not necessarily
the tool you know.

If all you have is a hammer, everything looks like a nail...

Bill

Nov 12 '05 #6

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

Similar topics

3
9248
by: sridevi | last post by:
Hello How to export data from ms-access database to excel worksheet using ASP. mainly i need to export data to multiple worksheets. it is very urgent to us. i have a sample code which works only exporting to single worksheet. but i need to export data to multiple worksheets. it is very urgent to us. so please help me in code.
4
3949
by: D | last post by:
I've created a report with many subreports of aggregate data. I want my client to be able to export this data to Excel to make her charts, etc. Only one problem: one of the fields is a "SchoolYear" TEXT field that contains data such as 2000/01, 2001/02, etc. If I export a Query with this kind of data to Excel, it gives me the text value of this field; however, when I export a Report bound to this TEXT field, Excel gives me the values 36526,...
2
7712
by: G | last post by:
When I export data from access to excel by with "export" or "Analyze with" I seem to loose parts of some fields (long text strings). Is there a way to export it all to excel? Thanks G
2
8013
by: Kenneth | last post by:
How do I remove the limitation in Access that deny me from exporting 24000 rows and 17 columns (in a query) into Excel? Kenneth
2
6932
by: Mustufa Baig | last post by:
Hi everybody, I have an ASP.NET website where clients can view their monthly billings by selecting different options. One of the option is the way they want to see the report i.e. whether they want to see it in PDF or EXCEL etc etc..... What I am trying to acheive is depending on their choice of format, I want to send the stream of that particulae selected format to the browser. I have tried couple od solutions but I couldn't able to get...
1
3169
by: Mustufa Baig | last post by:
I have an ASP.NET website where I am showing off crystal reports to users by exporting them to pdf format. Following is the code: ---------------- 1 Private Sub ExportReport() 2 Dim oStream As System.IO.MemoryStream = 3 myReport.ExportToStream( ExportFormatType.PortableDocFormat) 4 Response.Clear() 5 Response.Buffer() = True
21
6248
by: bobh | last post by:
Hi All, In Access97 I have a table that's greater than 65k records and I'm looking for a VBA way to export the records to Excel. Anyone have vba code to export from access to excel and have the code use multiple excel tabs within a workbook???? Anyone have vba code that would create a temp table write 65,000 records to it, export those to excel, clean the temp table, append the next 65,000 records, export it to excel with a different...
1
7622
by: John Overton | last post by:
I have a new requirement to Import and Export Excel tables into and out of Access 2003. The Excel tables are located on a remote server but I know the path to the Excel Files. Can you please help me with the Access VBA code I need to perform these Importing and Exporting tasks?? Sincerely, John Overton
3
2512
by: jennwilson | last post by:
Access 2000 - I have developed a database that houses patient information. The patient information must be sent in an excel file to another company department. I know how to export my data to Excel where it ends up in individual cells (Rows/Colums, etc). I would like for the report that I am exporting to Excel to transfer like a pdf. file. and be similar to the report generated in the database. Kind of like a snapshot of the report, is this...
0
9474
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 synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10306
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. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10139
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 captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
10075
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 most users, this new feature is actually very convenient. If you want to control the update process,...
0
9931
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
6727
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 into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
1
4037
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
3632
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2869
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 effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.