I'm using PDFtk pro with intention to password protect some pdf files with VBA code.
When I'm using Shell command, the arguments are not interpreted by the command.
syntax I'm using:
ShellCmd = PDFtkPath & " " & InputFilePath & " output " & OutputFilePath & " user_pw " & Password
' Use the Shell function to execute the PDFtk command
Shell ShellCmd, vbHide
the PTFtk application starts, but the Shell arguments are ignored and the command do not return a password protected pdf
Do you know the reasons?
Bookmarks