Documente Academic
Documente Profesional
Documente Cultură
Private Sub Worksheet_SelectionChange(ByVal Target As Range) If Not Application.Intersect(Target, Range("B5:B50")) Is Nothing Then ActiveCell.Formula = Now() ActiveCell.Copy ActiveCell.PasteSpecial xlPasteValues ActiveSheet.Unprotect ActiveCell.Locked = True ActiveSheet.Protect DrawingObjects:=True, Contents:=True, Scenarios:=True End If End Sub