Private Sub BTN_Saisie_Click()
' Mise en place des valeurs saisies
Dim DerLig As Long
' Avec la feuille Dossiers_Mandats
With Sheets("Base de données")
' Récupérer la dernière ligne de cette feuille grace au "." point
DerLig = .Range("A" & Rows.Count).End(xlUp).Row + 1
.Cells(DerLig, 1).Value = Combo_CDC
.Cells(DerLig, 2).Value = DTPicker1
'.Cells(DerLig, 4).Value = DTPicker_HDebut
'.Cells(DerLig, 5).Value = DTPicker_HFin
.Cells(DerLig, 7).Value = Combo_TypeActivite
.Cells(DerLig, 8).Value = Combo_Activité
.Cells(DerLig, 9).Value = Combo_SousActivité
.Cells(DerLig, 10).Value = Combo_Action
.Cells(DerLig, 11).Value = UCase(Txt_Nom)
'.Cells(DerLig, 12).Value = Combo_Fonctions
'.Cells(DerLig, 12).Value = Txt_Fonction
.Cells(DerLig, 13).Value = Combo_Entité
.Cells(DerLig, 14).Value = Combo_Service
.Cells(DerLig, 15).Value = Combo_Pool
.Cells(DerLig, 16).Value = Txt_OBS
.Cells(DerLig, 17).Value = Combo_Dossier
.Cells(DerLig, 18).Value = Txt_2
.Cells(DerLig, 19).Value = Txt_3
.Cells(DerLig, 20).Value = Txt_4
.Cells(DerLig, 21).Value = Txt_5
.Cells(DerLig, 22).Value = Txt_1
'Saisie de la fonction suivant le choix
If Me.DTPicker2 <> "" Then
.Cells(DerLig, 4).Value = DTPicker_HDebut
.Cells(DerLig, 5).Value = DTPicker_HFin
.Cells(DerLig, 6).FormulaR1C1 = "=RC[-1]-RC[-2]"
Else
.Cells(DerLig, 6).Value = DTPicker2
End If