472,959 Members | 1,843 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

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

Limitations in exporting to Excel?

How do I remove the limitation in Access that deny me from exporting 24000
rows and 17 columns (in a query) into Excel?

Kenneth
Nov 13 '05 #1
2 7900
"Salad" <oi*@vinegar.com> wrote in message
news:po*****************@newsread2.news.pas.earthl ink.net...
Kenneth wrote:
How do I remove the limitation in Access that deny me from exporting 24000 rows and 17 columns (in a query) into Excel?

Kenneth

The specifications are Maximum worksheet size 65,536 rows by 256 columns
in Excel. So you fit under that requirement.

Do you get an error? How are you exporting it? How may rows do you
have in the query. Please provide more, and relevent, information.


Here is what I have done:
In the Datasheet view:
File - Export
Save as type: Microsoft Excel 97-2000
[x] save formatted
Export

Here is the error message:
"There are too many rows to output, based on the limitation specified by teh
output format or by Microsoft Accsess"

....I only have 24000 rows and 17 columns, what is wrong?
(I manage to export if I choose to save as Text file, and then open the Text
file in excel, but why can't I export directly to excel?)
Nov 13 '05 #2
Kenneth wrote:
"Salad" <oi*@vinegar.com> wrote in message
news:po*****************@newsread2.news.pas.earthl ink.net...
Kenneth wrote:

How do I remove the limitation in Access that deny me from exporting
24000
rows and 17 columns (in a query) into Excel?

Kenneth


The specifications are Maximum worksheet size 65,536 rows by 256 columns
in Excel. So you fit under that requirement.

Do you get an error? How are you exporting it? How may rows do you
have in the query. Please provide more, and relevent, information.

Here is what I have done:
In the Datasheet view:
File - Export
Save as type: Microsoft Excel 97-2000
[x] save formatted
Export

Here is the error message:
"There are too many rows to output, based on the limitation specified by teh
output format or by Microsoft Accsess"

...I only have 24000 rows and 17 columns, what is wrong?
(I manage to export if I choose to save as Text file, and then open the Text
file in excel, but why can't I export directly to excel?)


It appears this is not a problem of exceeding Excels limits but that of
exceeding Access's limits.

Try the following. Click on Modules/New and paste this code into it.
Change the words YourQUeryName to the query name you use and run it
(press F5) or Run/GoContinue.

See if it blows up. If so, run a couple of other tests. Create a query
that contains just the ID of the field. Run it. Does it work? If not,
remove the id and try another field and run. DOes it work? IF not,
remove that field and try again. If ANY of these works, then start
adding columns 1 at a time until it fails. When it does, that field may
be causing problems in the export.

But if this is an Access export limitation, you'll be better off with
your current solution of exporting to text.

Sub ExportToExcelTest()
DoCmd.TransferSpreadsheet acExport, acSpreadsheetTypeExcel97, _
"YourQueryName", "C:\Test.XLS", True
MsgBox "Done"
End Sub

Nov 13 '05 #3

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

Similar topics

3
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...
4
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"...
2
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
5
by: Neil | last post by:
Hi I'm currently exporting my datagrid to excel, taking advantage of the fact that excel can render html, the problem is that when i click the button to export it opens in browser, I want the button...
2
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...
1
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...
2
by: bienwell | last post by:
Hi, I have a question about exporting data from datagrid control into Excel file in ASP.NET. On my Web page, I have a linkbutton "Export data". This link will call a Sub Function to perform...
2
by: Snozz | last post by:
The short of it: If you needed to import a CSV file of a certain structure on a regular basis(say 32 csv files, each to one a table in 32 databases), what would be your first instinct on how to...
3
by: StevoNZ | last post by:
I've been using Access to export data to Excel all year... this data has been increasing in size as the project nears compleion and now I find that when I export a table (or query) to Excel using the...
0
by: lllomh | last post by:
Define the method first this.state = { buttonBackgroundColor: 'green', isBlinking: false, // A new status is added to identify whether the button is blinking or not } autoStart=()=>{
2
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 4 Oct 2023 starting at 18:00 UK time (6PM UTC+1) and finishing at about 19:15 (7.15PM) The start time is equivalent to 19:00 (7PM) in Central...
0
tracyyun
by: tracyyun | last post by:
Hello everyone, I have a question and would like some advice on network connectivity. I have one computer connected to my router via WiFi, but I have two other computers that I want to be able to...
2
by: giovanniandrean | last post by:
The energy model is structured as follows and uses excel sheets to give input data: 1-Utility.py contains all the functions needed to calculate the variables and other minor things (mentions...
4
NeoPa
by: NeoPa | last post by:
Hello everyone. I find myself stuck trying to find the VBA way to get Access to create a PDF of the currently-selected (and open) object (Form or Report). I know it can be done by selecting :...
1
by: Teri B | last post by:
Hi, I have created a sub-form Roles. In my course form the user selects the roles assigned to the course. 0ne-to-many. One course many roles. Then I created a report based on the Course form and...
0
NeoPa
by: NeoPa | last post by:
Introduction For this article I'll be focusing on the Report (clsReport) class. This simply handles making the calling Form invisible until all of the Reports opened by it have been closed, when it...
0
isladogs
by: isladogs | last post by:
The next online meeting of the Access Europe User Group will be on Wednesday 6 Dec 2023 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, Mike...
2
by: GKJR | last post by:
Does anyone have a recommendation to build a standalone application to replace an Access database? I have my bookkeeping software I developed in Access that I would like to make available to other...

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.