Solved

Named Ranges: Access 2007 to Excel 2007

Posted on 2011-03-23
6
387 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
Comment Utility
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
Comment Utility
a new design
0
 
LVL 33

Expert Comment

by:Mike Eghtebas
Comment Utility
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
Better Security Awareness With Threat Intelligence

See how one of the leading financial services organizations uses Recorded Future as part of a holistic threat intelligence program to promote security awareness and proactively and efficiently identify threats.

 

Author Comment

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

Author Comment

by:kwarden13
Comment Utility
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
Comment Utility
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

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

Enums (shorthand for ‘enumerations’) are not often used by programmers but they can be quite valuable when they are.  What are they? An Enum is just a type of variable like a string or an Integer, but in this case one that you create that contains…
This article descibes how to create a connection between Excel and SAP and how to move data from Excel to SAP or the other way around.
The viewer will learn how to create a normally distributed random variable in Excel, use a normal distribution to simulate the return on an investment over a period of years, Create a Monte Carlo simulation using a normal random variable, and calcul…
This lesson covers basic error handling code in Microsoft Excel using VBA. This is the first lesson in a 3-part series that uses code to loop through an Excel spreadsheet in VBA and then fix errors, taking advantage of error handling code. This l…

771 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

13 Experts available now in Live!

Get 1:1 Help Now