Someone help me here..
Why don't you use another method:
1) conditional formatting on the rows that are changeable (e.g. show them in green and the other greyed out)
2) apply a condition in the write back SQL statement that takes care of the 3 days e.g. update table1 set col1=ABCDE where days<3 and id=123