Private Sub Workbook_BeforeClose(Cancel As Boolean)
Sheets("Sheet1").Columns("A:D").Hidden = True
End Sub
Private Sub Workbook_BeforeClose(Cancel As Boolean)
With Sheets("Sheet1")
.Unprotect Password:="Hello"
.Columns("A:D").Hidden = True
.Protect Password:="Hello"
End With
End Sub
ammdumas said:How do I out code into that module? Where do I find it?