Hello everyone.
I find myself stuck trying to find the VBA way to get Access to create a PDF of the currently-selected (and open) object (Form or Report).
I know it can be done by selecting :
That's fine, but how to get this done in VBA?
I want to be clear that I don't need (or even want really) a whole bunch of code that does the whole job for me. I just need a pointer to what Method of
Last, but not least, I've suggested elsewhere that all new questions should come with isladogs' Access/Windows/Office365 Version Checker info attached, so here's mine :
All offerings are received gratefully, as I appreciate any time expended regardless of how successfully helpful it may prove.
I find myself stuck trying to find the VBA way to get Access to create a PDF of the currently-selected (and open) object (Form or Report).
I know it can be done by selecting :
- External Data (Ribbon)
- PDF or XPS (from the Export Group)
- Select all desired options
- Publish
That's fine, but how to get this done in VBA?
I want to be clear that I don't need (or even want really) a whole bunch of code that does the whole job for me. I just need a pointer to what Method of
DoCmd (or whatever) can be used to get this done. I am though, happy to sift through any code for the nugget if that's what you have to offer.Last, but not least, I've suggested elsewhere that all new questions should come with isladogs' Access/Windows/Office365 Version Checker info attached, so here's mine :
Code:
[B][U]Access / Windows / Office Version Info[/U][/B] Date/Time: 15/10/2023 17:56:25 Workstation Name: BELLPC10 Operating System: Windows 10 Enterprise Version 22H2 - Build 10.0.19045.3448 64-bit Access Full Version: Access 2019 Version 2308 - Build 16.0.16731.20234 64-bit Access Path: C:\Program Files\Microsoft Office\root\Office16\ Office 365 Installed: No Office Install Method: Click-to-Run Update Channel: Not applicable
Comment