B
Brian
I got the following formula from this newsgroup.
Private Sub Workbook_Open()
Worksheets("Sheet1").Unprotect
With Worksheets("Sheet1").Range("A1")
.Value = .Value + 1
End With
Worksheets("sheet1").Protect Scenarios = True
UserInterfaceOnly = True
End Sub
This formula is supposed to add a sequential number, when
this file is opened. Two problems I have is that the
number does not change when the files is opened and that
I only need one cell protected not the entire worksheet.
Any help with this formula would be greatly appreciated
Thanks,
Brian
Private Sub Workbook_Open()
Worksheets("Sheet1").Unprotect
With Worksheets("Sheet1").Range("A1")
.Value = .Value + 1
End With
Worksheets("sheet1").Protect Scenarios = True
UserInterfaceOnly = True
End Sub
This formula is supposed to add a sequential number, when
this file is opened. Two problems I have is that the
number does not change when the files is opened and that
I only need one cell protected not the entire worksheet.
Any help with this formula would be greatly appreciated
Thanks,
Brian