?
Solved

Named Ranges: Access 2007 to Excel 2007

Posted on 2011-03-23
6
Medium Priority
?
404 Views
Last Modified: 2012-06-27
When I export from Access 2007 to Excel 2007, my name range in Excel overwrites and it causes excel to create a new tab instead of exporting directly to the named range specified.

Basically the named range is giving a REF error because the export query is not always the same amount of record/lines.
It changed everytime, either expanding or shrinking.

Please I need help!
0
Comment
Question by:kwarden13
  • 3
  • 3
6 Comments
 
LVL 34

Expert Comment

by:Mike Eghtebas
ID: 35202371
The best way to handle it to have a MS Query installed to activate from withing Excel where it ajusts the number of rows as required.

Is this a new design or it is an existing solution that worked for before?

Mike
0
 

Author Comment

by:kwarden13
ID: 35202383
a new design
0
 
LVL 34

Expert Comment

by:Mike Eghtebas
ID: 35202445
I saw your other question.

If you are working a lot with Excel, you may like the idea of using MS Query. It is a bit hectic to build and assign parameters but doable.

You can bult MS Query (in Excel, or some other methods... will discuss later). This way, the user of excel can click on a button to reftesh the data. Als, excel user is able to enter some criteria (such as customer name, City, etc.) in some excel cells before refreshing the data.

This means, you don't put criteria in Access query. The criteria is supplied with Excel user.

Mike
0
Nothing ever in the clear!

This technical paper will help you implement VMware’s VM encryption as well as implement Veeam encryption which together will achieve the nothing ever in the clear goal. If a bad guy steals VMs, backups or traffic they get nothing.

 

Author Comment

by:kwarden13
ID: 35202857
i'll give it a try and see if that works
0
 

Author Comment

by:kwarden13
ID: 35216014
Access Query won't work for me as I can't let the Excel user have that access. I need it to be restricted and locked if i do use it. I think an export using transferspreadsheet would be better so back to my original question: How can I accomplish this?
0
 
LVL 34

Accepted Solution

by:
Mike Eghtebas earned 2000 total points
ID: 35216518
There is a second option from Access environment (more robust and powerful) other than datatransfer method. This involves manipulating any number of Excel workbooks remotely doing any kind of operation (data transfer, other data enteries, macro installation, etc.)

If you work a lot with Excel workbooks, this is a better way to go.

Mike
0

Featured Post

Transaction-level recovery for Oracle database

Veeam Explore for Oracle delivers low RTOs and RPOs with agentless transaction log backup and transaction-level recovery of Oracle databases. You can restore the database to a precise point in time, even to a specific transaction.

Question has a verified solution.

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

This article describes how you can use Custom Document Properties to store settings and other information in your workbook so that they will be available the next time you open the workbook.
We live in a world of interfaces like the one in the title picture. VBA also allows to use interfaces which offers a lot of possibilities. This article describes how to use interfaces in VBA and how to work around their bugs.
Excel styles will make formatting consistent and let you apply and change formatting faster. In this tutorial, you'll learn how to use Excel's built-in styles, how to modify styles, and how to create your own. You'll also learn how to use your custo…
With Secure Portal Encryption, the recipient is sent a link to their email address directing them to the email laundry delivery page. From there, the recipient will be required to enter a user name and password to enter the page. Once the recipient …

864 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