Sub EnregistrerEnPDF()
Dim chemin$
chemin = ThisWorkbook.Path
Set Ws_Source = Worksheets("Données")
With Sheets("Déclarations")
.Lbl_NomPrenom1.Caption = Ws_Source.Cells(3, 9) & " " & Ws_Source.Cells(4, 9)
.Lbl_Adresse.Caption = Ws_Source.Cells(5, 9) & " " & Ws_Source.Cells(6, 9) & " " & Ws_Source.Cells(7, 9)
.Lbl_Identifiant.Caption = Ws_Source.Cells(8, 9)
.Lbl_MoisEnCours.Caption = USF_Menu.CmbB_Periode_3
.Lbl_CAVenteMarchandise.Caption = Format(S_Txt_VenMar_1, "### ### ##0.00") 'on colle la somme des Ventes
.Lbl_CAPrestationService.Caption = Format(S_Txt_ServComArt_1, "### ### ##0.00") 'on colle la somme des Prestations de services
.Lbl__CAAutrePrestatService.Caption = Format(S_Txt_AutPrestaServ_1, "0.00") 'on colle la somme des Autres Prstations de services
.Lbl__MoisEnCours2.Caption = USF_Menu.CmbB_Periode_3
.Lbl__Lieu.Caption = Ws_Source.Cells(7, 9)
.Lbl__Date.Caption = Application.Proper(Format(Date, "dddd dd mmmm yyyy"))
.Lbl_NomPrenom2.Caption = Ws_Source.Cells(2, 9) & " " & Ws_Source.Cells(3, 9) & " " & Ws_Source.Cells(4, 9)
.Caseàcocher4.Value = IIf(S_Txt_VenMar_1 = "" And S_Txt_ServComArt_1 = "" And S_Txt_AutPrestaServ_1 = "", True, False)
.Caseàcocher5.Value = IIf(S_Txt_VenMar_1 <> "" And S_Txt_ServComArt_1 <> "" And S_Txt_AutPrestaServ_1 <> "", True, False)
End With
ThisWorkbook.Sheets("Déclarations").ExportAsFixedFormat Type:=xlTypePDF, _
Filename:=chemin & "\" & "Pole Emploi-Attestation sur l'honneur-" & USF_Menu.CmbB_Periode_1 & "-" & USF_Menu.CmbB_Periode_3(Format(Date, "mm")) & ".pdf"
End Sub