There probably exists some hidden garbage in those code lines.
So, before the line:
Dim objShell
retype - no copy-paste - the four lines beginning with
Function ShellGetFolder( _
Then delete the old lines.
Finally, Compile and Save the module.
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
I am not a programmer. I have an access file that was set up a long time ago. It was working fine. Now the PDFPrint function not working. One of the scripts is named "ShellGetFolder", and when I run it, it always gives me this error.
There probably exists some hidden garbage in those code lines.
So, before the line:
Dim objShell
retype - no copy-paste - the four lines beginning with
Function ShellGetFolder( _
Then delete the old lines.
Finally, Compile and Save the module.