Sub Test_Export_PDF()
Dim f As Worksheet, p As Range, NomPDF$
Set f = Sheets("RDV")
Set p = f.Range("A1", f.Cells(Rows.Count, "G").End(3))
chemin = ThisWorkbook.Path & "\RDV_PREVUS\"
NomPDF = "test.pdf"
p.ExportAsFixedFormat Type:=xlTypePDF, Filename:=chemin & NomPDF, Quality:=xlQualityStandard
End Sub