Sub choixprint()
Dim type_print
type_print = MsgBox("type impression", vbYesNo, "choix")
Select Case type_print
Case vbYes
printm 1, 2
Case vbNo
printm 3, 4
End Select
End SubCode:
Sub printm(paged As Long, pagef As Long, Optional nbcop As Long = 1)
Sheets("PV bosses").PrintOut From:=paged, To:=pagef, Copies:=nbcop
End Sub