Hi guys,
Thanks heaps for helping me with the part 1 of my problem.
Part 2 of my problem:
I want to lock down the sheet allowing only few cells unlocked for data entry and unlock certain cells based on a date so no one can edit the data in that cell before or after that date.
123.jpg
1. First 5 columns and last 2 columns should be always unlocked giving the ability to change data any time
2. YES/NO drop down before Follow up after 48 hours should be unlocked only of that date is today (eg: H2 = Today()). Same for Reminder call YES/NO (Eg K2=Today())
I found the below VBA script but it unlocks the entire ROX if the conditions are met.
Private Sub Worksheet_SelectionChange(ByVal Target As Range)
'Excel 10 Tutorial
If Range("H" & Selection.Row).Value <> Date Then
ActiveSheet.Protect Password:="123456"
MsgBox "Only today's date row can be edited!"
ElseIf Range("H" & Selection.Row).Value = Date Then
ActiveSheet.Unprotect Password:="123456"
ActiveSheet.EnableSelection = xlNoRestrictions
End If
End Sub
Is there any way to do this without a VBA script because I want to host this file in Office 365 and 365 don’t support VBA ?
Much appreciate your help.
Bookmarks