I want to print .pdf documents using their file paths, code below is not working. The code runs with no errors, but nothing happens.
Can anyone assist?Sub PrintDocs() strFilePath = "C:\Users\....\Example.pdf" CreateObject("Shell.Application").Namespace(0).ParseName(strFilePath).InvokeVerb ("Print") 'Also tried using ("&Print") End Sub