I have created a workbook with several sheets and various userforms to
input data. I don't want anyone to input data directly, so I want to
protect the sheets, then unprotect them when the userforms are
displayed (then protect them again before leaving the subroutine). I
thought that I could activate the worksheet then put worksheets
("Name").protect or unprotect as necessary. Doesn't work. I must be
missing something obvious. Any ideas?