Private Sub CommandButton1_Click()
Application.ScreenUpdating = False
NomPDF = "E:\TEST\" & [E9] & "_" & [G12] & ".pdf"
ActiveSheet.ExportAsFixedFormat Type:=xlTypePDF, _
Filename:=NomPDF, _
OpenAfterPublish:=False
Application.ScreenUpdating = True
End Sub