Automatically Password Protect Excel Worksheet and Lock Cells after Data Entry using VBA. NET - How To Create Login Form With SQL Database Using Visual Basic .Net [with source code] - Image titled Protect VBA Code Step 1. excel open file Here is example EXCEL file - Excel vba 9258 please click to download..