cancel
Showing results for 
Search instead for 
Did you mean: 
martin_reuter
Level 4
Status: New
In Excel VBO a slight change would allow the application of password to workbooks, when saving them. Currently a pwd can only be used, if the original file contains one already.
Module: Save Workbook As
1. Add as new input parameter in the Start stage: i_pw_WbkPwd
2. Add the same in the code stage as input parameter PWD
3. In the code of the code stage change:
wb.saveas(filename)
to
wb.saveas(filename,,PWD)
That's it...
Kind Regards
Martin Reuter
PS: this would mean that we can use the standard version and do not have to customize it for ourselves... Thank you.