Results 1 to 3 of 3
  1. #1
    rmikulas is offline Novice
    Windows 7 32bit Access 2007
    Join Date
    Aug 2012
    Location
    Roanoke, VA
    Posts
    4

    Question VB Script - Split Report PDF into mutiple files

    Hi All!



    I was wondering if there was a way to create a Macro in Access that will export your report into multiple PDF files with different names.

    Example: I created a report that is designed to provide employees with a two page report on their progress. But when I go to Print Preview and under the Data tab, click PDF, it exports all 100 pages to the same PDF file (50 employees, 2 pages each).

    I would like to create a script that runs a macro that tells it to create 50 different 2 page PDF exports and use the Employee Name as the beginning of the file name [Emp_Name]&" - Progress Report".

    I know this may be a little complicated to put it all down in a forum, so if you could even point me to an article online to help me, that would be excellent.

    Thanks all for you help!!

  2. #2
    help_me_with_access is offline help_me_with_excel
    Windows XP Access 2007
    Join Date
    Jun 2012
    Posts
    262
    I doubt access has the capability. there are visual basic DLL's that can communicate with Adobe Acrobat and they are automatically visible to you if a newer version of Acrobat is installed on your machine. but still, I don't that would be useful to you.

    what I would personally suggest is making a 2 page report for every employee in your table and exporting one at a time via a visual basic looping routine. there are other ways you could do this too, but I don't think you can do it without coding somehow. or some sort of loop, whether it be in VB or through the interface making many objects to represent one emp. at a time..

  3. #3
    rmikulas is offline Novice
    Windows 7 32bit Access 2007
    Join Date
    Aug 2012
    Location
    Roanoke, VA
    Posts
    4
    Thanks for your help

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

Similar Threads

  1. mutiple joins
    By mothermugger in forum Queries
    Replies: 1
    Last Post: 11-15-2011, 04:06 PM
  2. Replies: 1
    Last Post: 09-26-2011, 03:33 PM
  3. Replies: 2
    Last Post: 01-06-2011, 08:02 AM
  4. Replies: 3
    Last Post: 09-24-2010, 02:48 PM
  5. Searching mutiple tables
    By mbolster in forum Access
    Replies: 8
    Last Post: 07-06-2010, 10:16 AM

Tags for this Thread

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