Wrox Programmer Forums
|
Pro VB Databases Advanced-level VB coding questions specific to using VB with databases. Beginning-level questions or issues not specific to database use will be redirected to other forums.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Pro VB Databases 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:17 AM
Registered User
 
Join Date: Nov 2003
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Default Transfer Spreadsheet

Hi,

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

... 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?

Ta,

James Hardiman






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 Access VBA 1 November 26th, 2003 01:35 PM





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