[2 days left] What’s wrong with your cloud strategy? Learn why multicloud solutions matter with Nimble Storage.Register Now

x
?
Solved

Run Time Error 2147467259 (800040005) when using CopyFromRecordset to export to Excel

Posted on 2004-10-27
4
Medium Priority
?
2,098 Views
Last Modified: 2007-12-19
This is the first time I am asking a question so I am not sure of the protocol.

The question is this:  I am using CopyFromRecordset to export a query to an excel file.  I am using an excel template to define the columns and formatting.  The query is exported when the user clicks a button.  Everything works beautifully on my PC, the memo fields are not truncated, the columns are placed under the correct headings, etc.  However, when other users attempt to export the query they receive a Run time error - 2147467259 (800040005)  Method 'CopyFromRecordset' of object 'Range' failed.   I am assuming that this is more a problem with the other users PCs but am not sure where to start checking.   I checked the references on one other person's PC and they matched mine.  Is there somewhere I can start checking for differences?  Is there something I can bring to our Systems section for them to check?
0
Comment
Question by:jkoneil
[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
  • 2
  • 2
4 Comments
 
LVL 4

Expert Comment

by:CrossWired
ID: 12426588
0
 

Author Comment

by:jkoneil
ID: 12426766
How can I check to see which version of DAO is being used?  In References, we are both using Microsoft DAO 3.6 object library.
Thanks,
Josette
0
 
LVL 4

Accepted Solution

by:
CrossWired earned 2000 total points
ID: 12426796
I was going more for the accepted answer there to check for OfficeUpates

Go here on both machines and make sure everyone is up to date

http://office.microsoft.com/en-us/officeupdate/default.aspx
0
 

Author Comment

by:jkoneil
ID: 12426935
Thanks.  I work in an 'interesting' environment.  No one is allowed to download anything from the internet.  I will pass this on to our Systems section and have them check on it.  

Thanks again.

0

Featured Post

VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

Question has a verified solution.

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

It’s the first day of March, the weather is starting to warm up and the excitement of the upcoming St. Patrick’s Day holiday can be felt throughout the world.
Microsoft Access is a place to store data within tables and represent this stored data using multiple database objects such as in form of macros, forms, reports, etc. After a MS Access database is created there is need to improve the performance and…
In Microsoft Access, learn how to “cascade” or have the displayed data of one combo control depend upon what’s entered in another. Base the dependent combo on a query for its row source: Add a reference to the first combo on the form as criteria i…
With Microsoft Access, learn how to start a database in different ways and produce different start-up actions allowing you to use a single database to perform multiple tasks. Specify a start-up form through options: Specify an Autoexec macro: Us…

656 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