I am working with a 745 meg database with several hundred thousand records in about a dozen tables. I need to export this data to excel but can’t because Excel only allows 65,000 rows per worksheet.
Is there a way to set a report to automatically wrap to the next worksheet when it reaches the 65,xxxth row? If not, can anyone suggest any possible way to get all this data into Excel?
Unfortunately, it absolutely must get into Excel somehow or another ASAP. Can anyone help me???
![]() |
Patch reliability is unclear. Unless you have an immediate, pressing need to install a specific patch, don't do it. |
SIGN IN | Not a member? | REGISTER | PLUS MEMBERSHIP |
-
Must export data into excel with >65000 rows (Access 2002)
Home » Forums » AskWoody support » Productivity software by function » MS Access and database help » Must export data into excel with >65000 rows (Access 2002)
- This topic has 5 replies, 3 voices, and was last updated 23 years, 5 months ago.
AuthorTopicWSGirlFriday
AskWoody LoungerJanuary 17, 2002 at 9:51 pm #365575Viewing 1 reply threadAuthorReplies-
WBell
AskWoody_MVPJanuary 17, 2002 at 10:54 pm #564516Dear me – you have a nasty problem. Without spending several hours writing lots of fancy SQL statements and VBA to do transfers to spreadsheets, there isn’t anything you can do to automate the process. You are also going to end up with some really sizeable Excel workbooks. Now you can do multiple worksheets in Excel, and I believe the limit of 65000 applies to each worksheet, though I think there is also a maximum workbook size as well. In addition, for someone to open a really huge workbook, they need lots of memory either RAM or virtual, and it will get really slow.
I would approach it manually by writing a query that let me specify the beginning and ending record, assuming there is some sort of counter on each table, and then export the results of that query to a workbook starting with the first 65000, then the second 65000 and so on. That will be the quickest, though it isn’t very elegant. If you want more details on how to set up a query to do that, post the question and I or one of the other folks on the lounge can give you a hand. Good Luck!
-
WSGARYPSWANSON
AskWoody LoungerJanuary 18, 2002 at 10:57 pm #564749… Check out the Microsoft Knowledgebase. There is a way to export in excess of 65,000 rows of data into excel workbooks. Excel will import the data on continuous worksheets. Of course, this is not the best way to do this, but it works.
If you are trying to put the data into excel to transfer to another application, try saving the data as a .csv and import from there.
-
WSGirlFriday
AskWoody LoungerJanuary 22, 2002 at 3:52 pm #565314Wow, that’s wonderful news. I looked around on the KB a little, and I think I’m looking with the wrong search parameters. Can you point me in the correct direction? Is it under Excel or Access, and what search term do I enter. OR, even better, I don’t suppose you happen to know the article number?
Rebecca -
WSGARYPSWANSON
AskWoody Lounger -
WSGirlFriday
AskWoody LoungerJanuary 25, 2002 at 2:17 am #565850Thank you for trying to find it. I actually finally found it (the KB seemed to be down a good chunk of the day on Tuesday). I was able to copy the code Microsoft had on the site and use it. I’m still working on the data. (if anyone wants to humble the abilities of their computer, try exporting a 1.5 million row table with 30+ fields to a text file).
However, I thought I would post the KB article numbers here for the next person that has to face this tortuous task.
There are two. The first one titled XL98: Importing Text Files Larger than 65536 Rows, is Article number .">Q119770.
Thank you to everyone that helped me. My head would still be spinning in disbelief if it weren’t for y’all’s help!
Edited by Charlotte to insert hyperlinks
-
-
-
Viewing 1 reply thread -

Plus Membership
Donations from Plus members keep this site going. You can identify the people who support AskWoody by the Plus badge on their avatars.
AskWoody Plus members not only get access to all of the contents of this site -- including Susan Bradley's frequently updated Patch Watch listing -- they also receive weekly AskWoody Plus Newsletters (formerly Windows Secrets Newsletter) and AskWoody Plus Alerts, emails when there are important breaking developments.
Get Plus!
Welcome to our unique respite from the madness.
It's easy to post questions about Windows 11, Windows 10, Win8.1, Win7, Surface, Office, or browse through our Forums. Post anonymously or register for greater privileges. Keep it civil, please: Decorous Lounge rules strictly enforced. Questions? Contact Customer Support.
Search Newsletters
Search Forums
View the Forum
Search for Topics
Recent Topics
-
Very Quarrelsome Taskbar!
by
CWBillow
5 hours, 42 minutes ago -
Move OneNote Notebook OFF OneDrive and make it local
by
CWBillow
8 hours, 27 minutes ago -
Microsoft 365 to block file access via legacy auth protocols by default
by
Alex5723
9 hours, 45 minutes ago -
Is your battery draining?
by
Susan Bradley
2 hours, 23 minutes ago -
The 16-billion-record data breach that no one’s ever heard of
by
Alex5723
11 hours, 42 minutes ago -
Weasel Words Rule Too Many Data Breach Notifications
by
Nibbled To Death By Ducks
12 hours, 18 minutes ago -
Windows Command Prompt and Powershell will not open as Administrator
by
Gordski
15 hours, 33 minutes ago -
Intel Management Engine (Intel ME) Security Issue
by
PL1
6 hours, 16 minutes ago -
Old Geek Forced to Update. Buy a Win 11 PC? Yikes! How do I cope?
by
RonE22
12 minutes ago -
National scam day
by
Susan Bradley
11 hours, 43 minutes ago -
macOS Tahoe 26 the end of the road for Intel Macs, OCLP, Hackintosh
by
Alex5723
2 hours, 44 minutes ago -
Cyberattack on some Washington Post journalists’ email accounts
by
Bob99
1 day, 13 hours ago -
Tools to support internet discussions
by
Kathy Stevens
2 hours, 3 minutes ago -
How get Group Policy to allow specific Driver to download?
by
Tex265
1 day, 4 hours ago -
AI is good sometimes
by
Susan Bradley
1 day, 20 hours ago -
Mozilla quietly tests Perplexity AI as a New Firefox Search Option
by
Alex5723
1 day, 10 hours ago -
Perplexity Pro free for 12 mos for Samsung Galaxy phones
by
Patricia Grace
2 days, 20 hours ago -
June KB5060842 update broke DHCP server service
by
Alex5723
2 days, 19 hours ago -
AMD Ryzen™ Chipset Driver Release Notes 7.06.02.123
by
Alex5723
2 days, 23 hours ago -
Excessive security alerts
by
WSSebastian42
1 day, 14 hours ago -
* CrystalDiskMark may shorten SSD/USB Memory life
by
Alex5723
3 days, 8 hours ago -
Ben’s excellent adventure with Linux
by
Ben Myers
1 hour, 48 minutes ago -
Seconds are back in Windows 10!
by
Susan Bradley
2 days, 20 hours ago -
WebBrowserPassView — Take inventory of your stored passwords
by
Deanna McElveen
1 day, 13 hours ago -
OS news from WWDC 2025
by
Will Fastie
23 hours, 46 minutes ago -
Need help with graphics…
by
WSBatBytes
2 days, 4 hours ago -
AMD : Out of Bounds (OOB) read vulnerability in TPM 2.0 CVE-2025-2884
by
Alex5723
4 days ago -
Totally remove or disable BitLocker
by
CWBillow
2 days, 23 hours ago -
Windows 10 gets 6 years of ESU?
by
n0ads
3 days, 2 hours ago -
Apple, Google stores still offer China-based VPNs, report says
by
Nibbled To Death By Ducks
4 days, 11 hours ago
Recent blog posts
Key Links
Want to Advertise in the free newsletter? How about a gift subscription in honor of a birthday? Send an email to sb@askwoody.com to ask how.
Mastodon profile for DefConPatch
Mastodon profile for AskWoody
Home • About • FAQ • Posts & Privacy • Forums • My Account
Register • Free Newsletter • Plus Membership • Gift Certificates • MS-DEFCON Alerts
Copyright ©2004-2025 by AskWoody Tech LLC. All Rights Reserved.