Set File Property of File With Password

Kirbs

New Member
Joined
Feb 16, 2010
Messages
8
Hi,


I have an Excel Tool that opens several spreadsheets in several folders and adds comments in the file's properties (looping via InputWB.BuiltinDocumentProperties.Item ("Comments")).

The problem is, whenever I encounter files with Password To Open or Password To Modify. Right now, I just flag files like these, and manually put comments in them.

Can somebody suggest a workaround?, or perhaps a different approach?
I found several possibilities using a DLL (dso.dll), but I can't use or even test it since I do not have Admin Rights to my PC and can't register the said DLL.

By the way, I'm doing this as part of our IT controls, to put ID's in our Spreadsheets that have Automation.


Thanks!
 

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