Option Explicit
Private Sub SAISIE_Change()
If IsDate(Me.SAISIE) And Len(Me.SAISIE) = 10 Then
Sheets("DATE").Range("C4").Value = CDate(Me.SAISIE.Value)
refresh
End If
End Sub
Sub refresh()
Dim ctrl
For Each ctrl In Me.Controls
If ctrl.Tag <> "" Then
If ctrl.Name Like "[!*_SN*]" Then
ctrl.Caption = Format(DateValue(Sheets("DATE").Range(ctrl.Tag).Value), "ddd dd mmm")
Else
ctrl.Caption = Sheets("DATE").Range(ctrl.Tag).Text
End If
Else
End If
Next
End Sub
Private Sub Userform_initialize()
'SAISIE.Value = Format((Sheets("DATE").Range("C4")), "ddd dd mmm yy")
refresh
End Sub