Solution
Yes, there is a way to do this using the ActiveX functions.
![](/servlet/rtaImage?eid=ka03q000000lN9M&feoid=00N0Z00000HEWRt&refid=0EM0Z000000WHOz)
Here
Password refers to a password that may be applied to an excel workbook. Whereas
WriteResPassword refers to a password that may be applied to a specific sheet.
The password to this excel document was set to "123" which should be changed accordingly.