[Last Call] Learn about multicloud storage options and how to improve your company's cloud strategy. Register Now

x
?
Solved

Named Ranges: Access 2007 to Excel 2007

Posted on 2011-03-23
6
Medium Priority
?
401 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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
What is SQL Server and how does it work?

The purpose of this paper is to provide you background on SQL Server. It’s your self-study guide for learning fundamentals. It includes both the history of SQL and its technical basics. Concepts and definitions will form the solid foundation of your future DBA expertise.

 

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

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

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

Traditionally, the method to display pictures in Access forms and reports is to first download them from URLs to a folder, record the path in a table and then let the form or report pull the pictures from that folder. But why not let Windows retr…
If you need to forecast numbers -- typically for finance -- the Windows and Mac versions of Excel 2016 have a basket of tools to get the job done.
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…
Polish reports in Access so they look terrific. Take yourself to another level. Equations, Back Color, Alternate Back Color. Write easy VBA Code. Tighten space to use less pages. Launch report from a menu, considering criteria only when it is filled…

650 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