1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37
|
'=================adjonction à tester
GED = GED & Chr(10) & "1 TEXT Source aussi valable pour " & Chr(10)
GED = GED & "2 CONT" & "Père: " & Cells(ligne, 23).Value & " " & Cells(ligne, 24).Value & " en vie le " & Cells(ligne, 12).Value & ", " & Chr(10)
GED = GED & "2 CONT" & "conjoint de: " & Cells(ligne, 31).Value & " " & Cells(ligne, 32).Value & " mariage avant le " & Cells(ligne, 12).Value & Chr(10)
GED = GED & "2 CONT" & "Mère: " & Cells(ligne, 31).Value & " " & Cells(ligne, 32).Value & " en vie le " & Cells(ligne, 12).Value & ", " & Chr(10)
GED = GED & "2 CONT" & "conjointe de: " & Cells(ligne, 23).Value & " " & Cells(ligne, 24).Value & " mariage avant le " & Cells(ligne, 12).Value & Chr(10)
If Cells(ligne, 55).Value = "majeur" Then
GoTo temoin2:
End If
If Cells(ligne, 55).Value = "" Then
GoTo temoin2
End If
X = Cells(ligne, 15).Value
Xv = CVar(X)
Y = Cells(ligne, 55).Value
Yv = CVar(Y)
temoin2:
If Cells(ligne, 62).Value = "majeur" Then
GoTo fin_temoin
End If
If Cells(ligne, 62).Value = "" Then
GoTo fin_temoin
End If
Zv = Cells(ligne, 62).Value
Annee_Naiss = Xv - Yv
GED = GED & "2 CONT" & Cells(ligne, 53).Value & " " & Cells(ligne, 54).Value & " " & "en vie le " & Cells(ligne, 12).Value _
& " " & "né vers " & Annee_Naiss & Chr(10)
Annee_Naiss = Xv - Zv
GED = GED & "2 CONT" & Cells(ligne, 60).Value & " " & Cells(ligne, 61).Value & " " & "en vie le " & Cells(ligne, 12).Value _
& " " & "né vers " & Annee_Naiss & Chr(10)
fin_temoin: |
Partager