简体   繁体   中英

VBA (Access) - How to scan through A table and export images as a pdf

How would I go about scanning through this table and exporting the images as a pdfs? Any help would be great, I'm not very familiar with VBA, even if I was this seems to be a difficult problem. I'm creating a form with a button and on the click of that button I want to sort through the table and export each image as PDF.

--- Update (9/8/2103)---

To elaborate these seem to be image files(.tif) of legal documents that were scanned and added to a Table in a Access database. So now I have to take those scanned picture files from the image field in the table, which holds the actual image file and export each image as a PDF.

You might try to start with a report if what you want is the information in the table in a PDF form. You can create a report under the "create" tab and use the Reports Wizard to input the fields that you want. You can then easily export the report to a PDF, either by opening the report and manually clicking "PDF or XPS" under "Data" on the Print Preview tab of the ribbon or via VBA. As PowerUser said, if you can give more detail about the table and field as well as how the images are stored that will also help answer this question more thoroughly.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM