How can to password protect a pdf file using vba?
Moderators: TrackerSupp-Daniel, Tracker Support, Vasyl-Tracker Dev Team, Chris - Tracker Supp, Sean - Tracker, Tracker Supp-Stefan
-
- User
- Posts: 1
- Joined: Fri Jun 19, 2015 9:48 pm
How can to password protect a pdf file using vba?
Can someone give me a simple example of how to password protect an existing *.pdf file using vba (libraries ver 4)?
-
- Site Admin
- Posts: 17960
- Joined: Mon Jan 12, 2009 8:07 am
- Location: London
Re: How can to password protect a pdf file using vba?
Hello Rob,
Welcome to our forums.
You can find the method needed to put protection on an existing document here:
https://help.pdf-xchange.com/DEV/de ... securityex
And there is a snippet of sample code how to use this.
I am not sure of the exact syntax to use through VBA though.
Regards,
Stefan
Welcome to our forums.
You can find the method needed to put protection on an existing document here:
https://help.pdf-xchange.com/DEV/de ... securityex
And there is a snippet of sample code how to use this.
I am not sure of the exact syntax to use through VBA though.
Regards,
Stefan