I have purchased "Open External Programs, Web URLs" and by following it I was trying to open my pdf files but it doesn't let me do that. I do have created a new system path "C:\Program Files (x86)\Adobe\Acrobat Reader DC\Reader" to open "AcroRd32.EXE" but still unable to open pdf files.
The path to Adobe has spaces in it, have you double quoted the path string?
What error do you get when you try an open the document?
Sohail SamsonOP
@Reply 5 years ago
Hi Alex,
Thanks for your help.
I'm using "Shell" as per Richard Rost's video. I'm very new to VB coding but it's been a while working with access. Yes, I have double quoted the path string too. it is sampling doing nothing.
If Right(Attachments, 4) = ".PDF" Then
Shell """C:\Program Files (x86)\Adobe\Acrobat Reader DC\Reader\AcroRd32.exe"" """ & Attachments & """", vbNormalFocus
End If
If you are a Visitor, go ahead and post your reply as a
new comment, and we'll move it here for you
once it's approved. Be sure to use the same name and email address.