VBA CODE Required

sifat

New Member
Joined
Mar 16, 2022
Messages
3
Office Version
  1. 2010
Platform
  1. Windows
Hi sir , I used VBA code in word file for mail-merge. In this VBA i prepared 10 increment letter of 10 employees in PDF file.
Now I want a VBA CODE in which i will protect these PDF files with a unique password for each employee increment latter and then send these protected PDF file to each employee on his email address.
Can you provide me VBA Code for it. Waiting For your cool response Thanks in advance
 

Excel Facts

Can you sort left to right?
To sort left-to-right, use the Sort dialog box. Click Options. Choose "Sort left to right"
Welcome to the MrExcel board!
I used VBA code in word file for mail-merge.
It appears that you are asking for Word vba code so I am moving this out of the 'Excel Questions forum.
 
Upvote 0
MS Office has no VBA capacity for adding password protection to PDFs.
I watched a video on youtube a man did this by excel he given pdf file a password and then send these file to different person. I am attaching link of that video. When you free kindly let me know i am waiting for your kind reply.
 
Upvote 0

Forum statistics

Threads
1,223,964
Messages
6,175,659
Members
452,666
Latest member
AllexDee

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top