Solved

Export Access to EXCEL problem

Posted on 2014-03-21
3
251 Views
Last Modified: 2014-05-14
I have an ACCESS database that exports 4 queries to EXCEL. I delete the worksheets before each export. This has been in use for about 6 months.
The size of one of the queries increased from 95 rows to 101 rows (14 columns).
That one export fails.
The others still work

The worksheet does not get deleted anymore. Consequently the export creates a new sheet with the name (NAME1).

I initially got the error message 3434Cannot exceed named range. I was not exporting to a range but when I went into the EXCEL Formula-Name Manager I fould a range for each of my worksheets. I also tried deleting the Range Name when I export and although the name was deleted, my export still did not work.

Any suggestions will be greatly appreciated.

Thankss
0
Comment
Question by:nickmark
  • 2
3 Comments
 
LVL 49

Expert Comment

by:Gustav Brock
ID: 39945048
You can import or link a Named Range but you cannot export to it:
A string expression that's a valid range of cells or the name of a range in the spreadsheet. This argument applies only to importing. Leave this argument blank to import the entire spreadsheet. When you export to a spreadsheet, you must leave this argument blank. If you enter a range, the export will fail.
/gustav
0
 

Author Comment

by:nickmark
ID: 39945091
Thanks so much Gustav. I did not do a good job with my original post.

I am not exporting to a range, I am exporting a query to a worksheet. I do not use ranges at all but if I go to the "Formula tab" - "Name Manager" it lists each of my worksheets from A1 to the last row/column.

I tried to delete the Named Range and the delete worked but the export still failed.

This problem began when I increased the size of the export by a few rows.
0
 
LVL 49

Accepted Solution

by:
Gustav Brock earned 500 total points
ID: 39945158
I would try with a new worksheet.

/gustav
0

Featured Post

Enterprise Mobility and BYOD For Dummies

Like “For Dummies” books, you can read this in whatever order you choose and learn about mobility and BYOD; and how to put a competitive mobile infrastructure in place. Developed for SMBs and large enterprises alike, you will find helpful use cases, planning, and implementation.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I see at least one EE question a week that pertains to using temporary tables in MS Access.  But surprisingly, I was unable to find a single article devoted solely to this topic. I don’t intend to describe all of the uses of temporary tables in t…
It’s been over a month into 2017, and there is already a sophisticated Gmail phishing email making it rounds. New techniques and tactics, have given hackers a way to authentically impersonate your contacts.How it Works The attack works by targeti…
Basics of query design. Shows you how to construct a simple query by adding tables, perform joins, defining output columns, perform sorting, and apply criteria.
Access reports are powerful and flexible. Learn how to create a query and then a grouped report using the wizard. Modify the report design after the wizard is done to make it look better. There will be another video to explain how to put the final p…

773 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question