Results 1 to 2 of 2
  1. #1
    jjsaw5 is offline Novice
    Windows 7 64bit Access 2007
    Join Date
    Feb 2012
    Posts
    1

    Marco to split up and save a report

    Hello,



    I’m looking for some assistance with an enhancement we are looking to complete with one of our Access DB’s. Here is some information on the database and what we are trying to do.


    Currently : We have a report that is run for some of our invoices, this report is currently printed out and then manually scanned into another system. Each invoice is one page, and all the invoices are the same layout just the data on them is different.

    Future: What I would like to do is create a macro or something that will allow this report to be saved to a directory and split each invoice into its own PDF file and then our imaging software can pick up the files from that directory and digitally scan them into our system. I’d like to eliminate the printing and manual scanning of these invoices.

    Has anyone ever created anything like this before? I would greatly appreciate any assistance anyone could provide me with this issue.

    So again I’m looking to create a macro or piece of code that the user can push a button and have the invoices saved to a directory as separate files.

  2. #2
    June7's Avatar
    June7 is offline VIP
    Windows XP Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    52,929
    I doubt Access VBA could be used to split up a pdf. Could use VBA to individually output to pdf each page of the report. Actually, probably have to code so each page opens as a single document (filter report to one customer at a time). This would be accomplished by opening a recordset of the customers, loop through recordset to grab customer ID, open filtered invoice report, send to PDF, repeat.
    How to attach file: http://www.accessforums.net/showthread.php?t=70301 To provide db: copy, remove confidential data, run compact & repair, zip w/Windows Compression.

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

Similar Threads

  1. Report changes will not save
    By phyllisgirl in forum Reports
    Replies: 4
    Last Post: 05-07-2012, 09:28 PM
  2. Replies: 6
    Last Post: 12-12-2011, 09:57 PM
  3. Macro to save report to PDF with custom name
    By chris.williams in forum Programming
    Replies: 2
    Last Post: 10-13-2011, 02:34 PM
  4. Save Report in Attachment
    By A S MANN in forum Queries
    Replies: 1
    Last Post: 10-08-2010, 08:33 PM
  5. Save report as pdf.
    By sams in forum Reports
    Replies: 7
    Last Post: 05-11-2010, 09: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