Hi,
I want to password-encrypt my workbook with VBA, so that it prompts for a password on next opening. I know it can be done with:
but I don't want to save the file at this point. Basically I need the following function in code![]()
ActiveWorkbook.SaveAs Filename:="FilePath", Password:="password"
http://www.reset-password.net/create...xcel-2007.html
Any idea?
Bookmarks