The problem is that you have put the Sub Showpass() on the wrong module. You have it on the userform1 module, but it should be on the Module1 module.

Copy the Sub Showpass() from the userform
then delete showpass() from the userform
delete the current showpass() from the module
paste the showpass() you copied from the userform on the module1.

Then it will work