Within the VBE with your project the active project:

Tools|VBAProject Properties
Protection tab.

But this isn't foolproof. There's lots of stuff that crack this password--some
of it free, some not.

Prakash wrote:

--

Dave Peterson