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
| With Sheets("fiche")
If T1 = "" Or T2 = "" Then
MsgBox " Autorisation réfusée car aucun élément séléctionné", vbExclamation, "ERROR MESSAGE"
T_fitre.SetFocus
Cancel = True
Exit Sub
End If
.Range("b11") = T6
.Range("b12") = P8
.Range("b17") = T11
.Range("b18") = T1
.Range("b19") = P7
.Range("b20") = T2
.Range("b21") = T3
.Range("b22") = T6
.Range("b27") = S1
.Range("b28") = S3
.Range("b29") = S5
.T_case_photo.Text = Me.T_photo3.Caption
'imprimer une feuille
Application.ScreenUpdating = False
Me.Hide
Feuil4.Visible = True
Feuil4.PrintPreview
Me.Show
Application.ScreenUpdating = True
End With |
Partager