Solved

Named Ranges: Access 2007 to Excel 2007

Posted on 2011-03-23
6
388 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 33

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 33

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
Ransomware-A Revenue Bonanza for Service Providers

Ransomware – malware that gets on your customers’ computers, encrypts their data, and extorts a hefty ransom for the decryption keys – is a surging new threat.  The purpose of this eBook is to educate the reader about ransomware attacks.

 

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 33

Accepted Solution

by:
Mike Eghtebas earned 500 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

A little background as to how I came to I design this code: Around 5 years ago I designed an add-in that formatted Excel files to a corporate standard, applying different cell colours and font type depending on whether the cells contained inputs,…
Overview: This article:       (a) explains one principle method to cross-reference invoice items in Quickbooks®       (b) explores the reasons one might need to cross-reference invoice items       (c) provides a sample process for creating a M…
This Micro Tutorial demonstrates how to create Excel charts: column, area, line, bar, and scatter charts. Formatting tips are provided as well.
This Micro Tutorial will demonstrate on a Mac how to change the sort order for chart legend values and decrpyt the intimidating chart menu.

895 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

Need Help in Real-Time?

Connect with top rated Experts

15 Experts available now in Live!

Get 1:1 Help Now