-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathSheet2
More file actions
20 lines (18 loc) · 677 Bytes
/
Copy pathSheet2
File metadata and controls
20 lines (18 loc) · 677 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
Attribute VB_Name = "Sheet2"
Attribute VB_Base = "0{00020820-0000-0000-C000-000000000046}"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = True
Attribute VB_TemplateDerived = False
Attribute VB_Customizable = True
Private Sub Worksheet_Change(ByVal Target As Range)
Dim cell As Range
For Each cell In Range("L4:L500")
If Not Intersect(Target, cell) Is Nothing Then
If cell.Value = "Dnes" Or cell.Value = "dnes" Or cell.Value = "d" Then
cell.Value = Format(Date, "d.m.yyyy")
End If
End If
Next cell
End Sub