I know its closed thread, comment for other visitors

u may need "Select Case Application.LanguageSettings.LanguageID(msoLanguageIDUI) ..." in "ClosePropertiesWindow" Prosedure
in my cased it didnt work ..

...
and I need to set unlock VBAProject save. ex) uncheck "project Protect" checkbox, remove password String, click OK button.
I am not good at using win32API .. someone solve this, please send email