Quote Originally Posted by SamGr
Unfortunately, under Win7 and Excel 2010 doesn' work. The properties window is not closed in my case...
Furthermore, when I try to put the code through a loop in order to unlock various VBA projects (with known passwords) Excel crashes.... I suppose that probably the timer is the cause of my problem but I am not sure...
I am running windows 7 with office 2010 and it works perfectly....

Do you have all correct references set? Do you have the required DLL's on your machine?