Im able to generate the pdf files thru the vba code and merge files and all... but I was trying to find a solution to encrypt the file but couldn't find any. is there any way for me to call the encryption procedure from vba code before I save the file or even after the file saved run code to encrypt it. the only option I want to be allowed with file is print.
Thank you.. Patrick.
Acrobat does not offer a VB API to do this so far as I know; only plug-ins get this.
In Acrobat XI Pro you can create a named Action (google acrobat xi actions) that performs encryption and then execute this action on the selected files or files in folders. I do not know whether you can execute an action from a VB script. But if all you want to do is to automate encryption of many files, Actions may be the feature you want.