Protect VBA Project (VBA macros) in Excel using C#. Use password To protect or lock the VBA code in Excel Workbook in C#. Secure Excel VBA Project/macro....Blog Home Protect VBA Project in Excel Workbook and Lock it for...regarding protection of VBA projects in Excel workbooks. There is also...