Hello guys,
Its nice to join your community and I hope to learn a great deal!
I have a little problem setting up a project.
I built a Log, a radio network log. So in my F5:F$ range I will log what is said on said Net. Therefore I want the last modified cell to be locked, workbook saved, after en entry was made whilst having the next available cell open to modification and so on so forth. I work around a few thing I learned on Chandoo but nothing!
I found this piece that help a little.
VBrivate Sub Worksheet_Change(ByVal Target As Range)
Dim MyRange As Range
Set MyRange = Intersect(Range("A1:D100"), Target)
If Not MyRange Is Nothing Then
Sheets("Sheet1").Unprotect password:="blabla"
MyRange.Locked = True
Sheets("Sheet1").Protect password:="blabla"
ThisWorkbook.Save
ActiveCell.Offset(1, 0)
End If
End Sub
Thank you very much
Nimerod
Its nice to join your community and I hope to learn a great deal!
I have a little problem setting up a project.
I built a Log, a radio network log. So in my F5:F$ range I will log what is said on said Net. Therefore I want the last modified cell to be locked, workbook saved, after en entry was made whilst having the next available cell open to modification and so on so forth. I work around a few thing I learned on Chandoo but nothing!
I found this piece that help a little.
VBrivate Sub Worksheet_Change(ByVal Target As Range)
Dim MyRange As Range
Set MyRange = Intersect(Range("A1:D100"), Target)
If Not MyRange Is Nothing Then
Sheets("Sheet1").Unprotect password:="blabla"
MyRange.Locked = True
Sheets("Sheet1").Protect password:="blabla"
ThisWorkbook.Save
ActiveCell.Offset(1, 0)
End If
End Sub
Thank you very much
Nimerod