Good afternoon aparna
But always remember that all Excel's protection can be bypassed, and while the VBE password protection is a bit stronger than the worksheet / workbook protection it's nowhere near as robust as its "File Open" counterpart.
That said, it should keep casual users out. Just a point worth making...
HTH
DominicB