Sub Macro1()
'
' Macro1 Macro
'
'
Workbooks.OpenText Filename:="\\ppsibeserv\Informatique\bkp.csv", Origin:= _
xlWindows, StartRow:=1, DataType:=xlFixedWidth, FieldInfo:=Array(Array(0, _
1), Array(11, 1), Array(61, 1), Array(63, 1), Array(73, 1), Array(83, 1), Array(92, 1)), _
TrailingMinusNumbers:=True
Range("E4:E51").Select
Selection.NumberFormat = "m/d/yyyy"
Selection.FormatConditions.Add Type:=xlCellValue, Operator:=xlGreater, _
Formula1:="=AUJOURDHUI()-30"
Selection.FormatConditions(Selection.FormatConditions.Count).SetFirstPriority
With Selection.FormatConditions(1).Font
.Bold = True
.Italic = True
.Color = -16776961
.TintAndShade = 0
End With
Selection.FormatConditions(1).StopIfTrue = False
ChDir "C:\Users\buenadg\Desktop"
ActiveWorkbook.SaveAs Filename:="C:\Users\buenadg\Desktop\bkpresult.xlsx", _
FileFormat:=xlOpenXMLWorkbook, CreateBackup:=False
ActiveWindow.SmallScroll Down:=9
Windows("PERSONAL.XLSB").Activate
Application.WindowState = xlNormal
Windows("bkpresult.xlsx").Activate
End Sub