We help IT Professionals succeed at work.

Export an Access Report to Excel by passing overflow error (either can be done or it can't)

jsctechy
jsctechy asked
on
Medium Priority
2,198 Views
Last Modified: 2010-05-18
hi there,
I have an access report that its 7682 pages is there a way to export it to excel? i have tried before but get overflow error after 1209 pages. is there another way of doing this?
Thanks,
jsctechy
Comment
Watch Question

CERTIFIED EXPERT
Top Expert 2016
Commented:
excel has a limit of 65000 + rows.
you can divide your reports record source into several queries and export the queries to different excel files.

is this acceptable?

Not the solution you were looking for? Getting a personalized solution is easy.

Ask the Experts
CERTIFIED EXPERT
Top Expert 2010
Commented:
Hello jsctechy,

If you are running Excel 2003 or earlier, you are limited to 65,536 rows in a worksheet, so if your
Access report needs almost 8000 pages, it does not look like good odds.

Regards,

Patrick
CERTIFIED EXPERT
Top Expert 2010
Commented:
jsctechy,

BTW, Excel 2007 boosts to 1,048,576 rows.  Of course, I have no idea whether Access's
routine for the export can exploit this new capability or not...

Regards,

Patrick
Jim HornSQL Server Data Dude
CERTIFIED EXPERT
Most Valuable Expert 2013
Author of the Year 2015
Commented:
>I have an access report that its 7682 pages is there a way to export it to excel?
Very bad idea.  Access Reports do not export to other editable formats very well, and often resemble a Picasso of their original cosmetic formatting.
Either export the query that serves as your report's RecordSource to Excel, or text if you go up against the maximum rows limit as the above experts stated, or write to a pdf or snapshot file.
jsctechyInfrastructure Team Lead

Author

Commented:
all your suggestion sound good but the need to export to excel is inmiment. They need to calculate and add however they want so they need it in excel format.
i like the idea of divide the query in different queries and have multiple files i think thats the best thing i can do.
Thanks,
jsctechy
Commented:
jsctechy,
   Have you tried exporting the query the report is based on? How many records are displayed if you just run the query ... if less than 65,536 then that would be the course of action to persue. This will likely get them better results to work with (Access does a bad job of exporting reports into Excel) anyway, no umping columns, funny column headers etc. You can control the headers that will be put into Excel by aliasing the filed names in the query itself.
SELECT MyFiled As FieldOne

<Of course, I have no idea whether Access's routine for the export can exploit this new capability or not...>
nope ... 2007 can not export a report to Excel AT ALL.
Access more of Experts Exchange with a free account
Thanks for using Experts Exchange.

Create a free account to continue.

Limited access with a free account allows you to:

  • View three pieces of content (articles, solutions, posts, and videos)
  • Ask the experts questions (counted toward content limit)
  • Customize your dashboard and profile

*This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

OR

Please enter a first name

Please enter a last name

8+ characters (letters, numbers, and a symbol)

By clicking, you agree to the Terms of Use and Privacy Policy.