I'm not sure which property lets you set that prompt, I'm sure there is one. You can turn off display alerts to go with the default value (which is yes) though:
![]()
WbPassword = Inputbox("Please enter Password") application.displayalerts = false ActiveWorkbook.SaveAs Password:=WbPassword, CreateBackup:=False application.displayalerts = true ActiveWorkbook.Close
Bookmarks