Wrox Programmer Forums
Access VBA Discuss using VBA for Access programming.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Access VBA section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
Old November 26th, 2003, 11:25 AM
Registered User
Join Date: Nov 2003
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Default Transfer Spreadsheet


I am trying to export some data in a spreadsheet:
    DoCmd.TransferSpreadsheet acExport, acSpreadsheetTypeExcel9, "fnAuditTrailExport", _

... this in an Access2002 project. The help says that the source data can be in a query, but when I try (no matter what I try), I get error 7874, "Can't find the object "fnAuditTrailExport".

Anyone any ideas on how to export to a spreadsheet from a view, SP, or UDF?


James Hardiman

Old November 26th, 2003, 01:35 PM
Friend of Wrox
Join Date: Jun 2003
Posts: 120
Thanks: 0
Thanked 0 Times in 0 Posts

Have a look here: http://p2p.wrox.com/topic.asp?TOPIC_ID=359

Similar Threads
Thread Thread Starter Forum Replies Last Post
Transfer spreadsheet with spaces in sheet name Coby Access VBA 4 February 15th, 2008 05:51 PM
Excel Spreadsheet Help SteveV VBScript 0 October 10th, 2006 04:42 PM
Excel Spreadsheet Help SteveV BOOK: Beginning VB.NET 2nd Edition/Beginning VB.NET 2003 0 October 10th, 2006 04:41 PM
Export a spreadsheet Corey Access 0 November 22nd, 2005 03:42 PM
Transfer Spreadsheet JamesHardiman Pro VB Databases 0 November 26th, 2003 11:17 AM

Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.