Completely without vba:
Go to the table, where the user password is stored in design view.
Select the field with the password, click on Entry format (hope that's what it shows in English Access) and then on the "...", you can actually select "Password", which does exactly what you want. Does it?