Question about using VBA or VB to make adjustments to ADOBE Form settings

captsalmon

New Member
Joined
Oct 29, 2012
Messages
6
I have an odd question. I help hospitals in low resource setting to develop locally sustainable patient data management methods (not necessarily computer based...paper is at times the best solution).

One hospital in Dar es Saleem decided to password protect a PDF Fillable Form I setup for them to use to collect data from paper form. Over 2,000 forms filled, each with the same password. Now I need to extract the data into a spreadsheet for converse to a new electronic database. But can't because of the password. The Adobe community has so far not responded to request for options. Since I am much more familiar with Excel, VBA and using VB from within a macro, I want to see if it is possible to use VBA to:
1) open a PDF Form file from the C-drive
2) select File tab
3) select Properties tab
4) select Security tab
5) change Security Method from Password to No Security
6) enter password in box provided
7) save file
8) move onto the next file

With this, I can automate the process of removing the password secuirty, then easily compile all data into a spreadsheet via the Acrobat internal process.

Any suggestions would be appreciated.

cheers
 

Excel Facts

How to fill five years of quarters?
Type 1Q-2023 in a cell. Grab the fill handle and drag down or right. After 4Q-2023, Excel will jump to 1Q-2024. Dash can be any character.

Forum statistics

Threads
1,223,238
Messages
6,170,939
Members
452,368
Latest member
jayp2104

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