Sub SauvInfoSalarié(ind As Integer) 'permet de sauvegarder les données du formulaire à la ligne "ind" du TS
With TSSalarié
.DataBodyRange(ind, 1) = CInt(TextBox1)
.DataBodyRange(ind, 2) = ComboBox1
.DataBodyRange(ind, 3) = TextBox4
.DataBodyRange(ind, 4) = TextBox5
.DataBodyRange(ind, 5) = TextBox6
.DataBodyRange(ind, 6) = TextBox7
.DataBodyRange(ind, 13) = TextBox14
.DataBodyRange(ind, 20) = ComboBox2
.DataBodyRange(ind, 7) = TextBox8
.DataBodyRange(ind, 8) = ComboBox4
.DataBodyRange(ind, 9) = ComboBox3
.DataBodyRange(ind, 10) = TextBox11
.DataBodyRange(ind, 11) = TextBox12
.DataBodyRange(ind, 12) = TextBox13
.DataBodyRange(ind, 14) = ComboBox5
.DataBodyRange(ind, 21) = TextBox15
.DataBodyRange(ind, 22) = TextBox16
.DataBodyRange(ind, 17) = CDbl(TextBox17)
.DataBodyRange(ind, 16) = CInt(TextBox18)
.DataBodyRange(ind, 19) = CInt(TextBox19)
End With
End Sub