No matter if you password protect a VBA module or a workbook or aworksheet, unfortunately there is no way to check if a wrong passwordis entered.