Thank you for the assistance so far.
The constant seems to be ok - Const conOutDir = "c:\CurlewFiles\OutEFiles\"
I noticed a reference to "user32" near the top of my Declarations and a quick google indicates this may be an issue?
Public Declare PtrSafe Function FindWindow Lib "user32" Alias...
Sorry about that!
It functions properly until this point:
'Name conOutDir & "rpt.pdf" As conOutDir & strFile 'ie c:\CurlewFiles\OutEFiles\INVxxxxx-xxxxx.pdf
As the PDF does get created and renamed.
Then I get an "An error has prevented this operation from completing"
And in our error...
I have little experience with Access other than trial and error changes and forums like this helping me out.
Original owner of our company taught me a few things many years ago but he has since passed away so here I am.
This section of code works fine on Office 365 32 bit but will not function...