Sub OuvGauInt()
' OuvGauInt Macro
' Macro enregistrée le 2006-08-27 par David
' Macro modifiée par Dan le 04/09/06
Application.ScreenUpdating = False
Range("I36").Value = "OUVERTURE GAUCHE INTERIEUR"
'Travail sur feuille Slab
Sheets("Slab").Activate
Range("E45:J46,E49:J50,O44:R51").Activate
With Selection
.Borders(xlDiagonalDown).LineStyle = xlNone
.Borders(xlDiagonalUp).LineStyle = xlNone
End With
Range("E45:J46,O44:R47").Select
With Selection.Borders(xlDiagonalUp)
.LineStyle = xlContinuous
.Weight = xlMedium
.ColorIndex = xlAutomatic
End With
Range("O48:R51").Select
With Selection.Borders(xlDiagonalDown)
.LineStyle = xlContinuous
.Weight = xlMedium
.ColorIndex = xlAutomatic
End With
'Travail sur feuille Frame
Sheets("Frame").Activate
Range("D49:J50,D53:J54,P48:S55").Activate
With Selection
.Borders(xlDiagonalDown).LineStyle = xlNone
.Borders(xlDiagonalUp).LineStyle = xlNone
End With
Range("D49:J50, P48:S51").Select
With Selection.Borders(xlDiagonalUp)
.LineStyle = xlContinuous
.Weight = xlMedium
.ColorIndex = xlAutomatic
End With
Range("P52:S55").Select
With Selection.Borders(xlDiagonalDown)
.LineStyle = xlContinuous
.Weight = xlMedium
.ColorIndex = xlAutomatic
End With
Sheets("FORMULAIRE").Activate
Application.ScreenUpdating = True
End Sub