Mega Code Archive
Categories
/
VisualBasic Script
/
Excel
Protecting a Worksheet
Sub protect() ActiveWorksheet.Protect Password:="pass"