protect formulas

Giganews Newsgroups
Subject: protect formulas
Posted by:  Osmario Avila (osmar…@terra.com.br)
Date: 29 Oct 2003

Private Sub Workbook_Open()
Worksheets(1).EnableAutoFilter = True
Worksheets(1).EnableOutlining = True
Worksheets(1).Protect UserInterfaceOnly:=True
End Sub

Hi!
using this code I protect only sheet1, but I need protect both sheet1
and sheet2. Does anybody knows how to?

Thanks in advance
Osmario.

Replies