Printing Attachments from Form onto Access Report

thepharcyde

Board Regular
Joined
Aug 16, 2005
Messages
107
Trying to suss this out.

I need to paste in screenshots into a DB that consistently will not be the same size etc thereby OLE Object type does not work as Access cannot ascertain the size to grow/shrink as an ordinary text field parameter/option.

As such I believe this can be achieved via attaching the screenshot via PDF/DOCX attachments to the form in question and then outputting these via a Report.

Thereby my form is made up of the following attachment field tags

Screenshot_Attachment1
Screenshot_Attachment2
Screenshot_Attachment3
Screenshot_Attachment4
Screenshot_Attachment5

Each of these will solely have a singular PDF/Word attached and called the same file name each time.

I need to create a report that under the relevant section it also prints the relevant PDF/Word Attachment applicable

e.g.
Screenshot_Attachment1
Screenshot1.pdf/docx

Screenshot_Attachment2
Screenshot2.pdf/docx

Screenshot_Attachment3
Screenshot3.pdf/docx

Screenshot_Attachment4
Screenshot4.pdf/docx

Screenshot_Attachment5
Screenshot5.pdf/docx

Do you know how I can achieve this that I believe would be via VBA code?

Can you assist in this regard.
 

Excel Facts

Select all contiguous cells
Pressing Ctrl+* (asterisk) will select the "current region" - all contiguous cells in all directions.
Pasting OLEimages does not matter about size...they can be different sizes.
Make an OLE field and paste the images into the fields.
 
Upvote 0

Forum statistics

Threads
1,214,528
Messages
6,120,065
Members
448,941
Latest member
AlphaRino

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top