Forum Discussion
defcrash
Oct 04, 2023Copper Contributor
Excel file encrypt with password thru Office Scripts
Hi all, I'm trying to automate adding a password to open an Excel file thru Office Scripts but it's being very difficult to me! I can do it with macros (VBA) but because the password must be adde...
- Oct 04, 2023I'm afraid the answer is a simple blunt no, cannot be done. Office script cannot "handle files" in any way. It only works on the current document but cannot change things like the document name or encryption.
JKPieterse
Oct 04, 2023Silver Contributor
I'm afraid the answer is a simple blunt no, cannot be done. Office script cannot "handle files" in any way. It only works on the current document but cannot change things like the document name or encryption.