Ulf Dittmer wrote:A quick Google search finds the SheetSettings.setProtected method which looks promising.