I am using excel 2000
How can I make the following code (saved in the This Workbook sheet)available to all or multiple sheets in my workbook
Private Sub Workbook_Open()
'check for filter, turn on if none exists
With Worksheets("Missing Data")
If Not .AutoFilterMode Then
.Range("A3").AutoFilter
End If
.EnableAutoFilter = True
.Protect _
Contents:=True, UserInterfaceOnly:=True
End With
End Sub
Bookmarks