Results 1 to 4 of 4
  1. #1
    Glenn_Suggs is offline Advanced Beginner
    Windows 7 64bit Access 2010 32bit
    Join Date
    Oct 2012
    Posts
    72

    Exporting an Access report to PDF format


    Hello... Does anyone know the syntax for exporting an Access report to PDF format using VBA code. I'm thinking it may be similar to using TransferSpreadsheet to get a table or query into Excel but I've never seen it done before.
    Thanks in advance,
    Glenn

  2. #2
    pbaldy's Avatar
    pbaldy is offline Who is John Galt?
    Windows XP Access 2007
    Join Date
    Feb 2010
    Location
    Nevada, USA
    Posts
    22,521
    Look at

    DoCmd.OutputTo
    Paul (wino moderator)
    MS Access MVP 2007-2019
    www.BaldyWeb.com

  3. #3
    Glenn_Suggs is offline Advanced Beginner
    Windows 7 64bit Access 2010 32bit
    Join Date
    Oct 2012
    Posts
    72
    What should I use as the acFormat parameter?

  4. #4
    Minty is online now VIP
    Windows 10 Access 2010 32bit
    Join Date
    Sep 2017
    Location
    UK - Wiltshire
    Posts
    3,003
    The avilable outputs are ;
    OutputFormat Required The output format
    acFormatHTML
    acFormatPDF
    acFormatRTF
    acFormatSNP
    acFormatTXT
    acFormatXLS
    acFormatXLSB
    acFormatXLSX
    acFormatPS
    From here http://access-excel.tips/access-vba-...tputto-method/
    DLookup Syntax and others http://access.mvps.org/access/general/gen0018.htm
    Please use the star below the post to say thanks if we have helped !
    ↓↓ It's down here ↓↓

Please reply to this thread with any new information or opinions.

Similar Threads

  1. Customize Date Report when exporting the data to excel format
    By fluffyvampirekitten in forum Access
    Replies: 1
    Last Post: 08-19-2015, 03:33 AM
  2. Replies: 0
    Last Post: 02-25-2015, 08:09 AM
  3. Replies: 7
    Last Post: 10-11-2012, 01:08 PM
  4. Exporting to .txt with Specific Format
    By KrenzyRyan in forum Import/Export Data
    Replies: 12
    Last Post: 11-18-2011, 04:57 AM
  5. Date format exporting to txt
    By timpepu in forum Access
    Replies: 1
    Last Post: 04-20-2010, 08:20 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Other Forums: Microsoft Office Forums