Results 1 to 2 of 2
  1. #1
    Join Date
    Sep 2005
    Posts
    28

    Unanswered: Convert to Excel File

    In VB Code:

    How can I write the code that convert the Query to Excel file?

    Thanks.

  2. #2
    Join Date
    Jul 2004
    Location
    South Dakota
    Posts
    267
    DoCmd.OutputTo acOutputQuery, "QueryName", acFormatXLS, "FileName.xls"

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •