Private Sub CommandButton5_Click() 'Envoi feuille Impression
Dim s As Shape, Tablo, I&
Application.ScreenUpdating = False
Sheets("IMPRESSION").Select
For Each s In ActiveSheet.Shapes
If Not Intersect(s.TopLeftCell, [A4:B4]) Is Nothing Then s.Delete
Next
[B16:B400].ClearContents
[A2] = ComboBox1: [A3] = ComboBox2
[A6] = Textbox2: [B6] = Textbox4
[A8] = Textbox1: [B8] = Textbox5
[A10] = Textbox3: [B10] = TextBox8
[A12] = Textbox9: [B12] = TextBox11
[A14] = TextBox10: [A16] = TextBox6
Tablo = Split(TextBox7.Text, Chr(10))
For I = LBound(Tablo) To UBound(Tablo)
Cells(I + 16, 2) = Trim(Replace(Tablo(I), Chr(10), ""))
Next I
Rows("16:400").EntireRow.AutoFit
Call InsImage(Image1.Tag, [A4], 1)
Call InsImage(Image2.Tag, [B4], 2)
''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''
''''Macro faite par JOB75 le 02/10/2018, affiche automatiuement l'image de OptionButton4 en cas de non sélection d'un OptionButton''''
''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''
If Image3.Tag = "" Then OptionButton4 = True 'lance OptionButton_Click
Call InsImage(Image3.Tag, [B4], 3)
'If CheckBox1.Value = True Then
' ActiveSheet.Shapes("Image3").Visible = True
'Else
' ActiveSheet.Shapes("Image3").Visible = False
'End If
Application.GoTo [A1], True
' [A1].Activate
Unload Me
End Sub