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 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82
| Sub Remplacer_heures()
Worksheets("Intégration").Columns("C").Replace _
What:="08:**", Replacement:="08h - 09h", _
SearchOrder:=xlByColumns, MatchCase:=False, LookAt:=xlPart
Worksheets("Intégration").Columns("C").Replace _
What:="09:**", Replacement:="09h - 10h", _
SearchOrder:=xlByColumns, MatchCase:=True, LookAt:=xlPart
Worksheets("Intégration").Columns("C").Replace _
What:="10:**", Replacement:="10h - 11h", _
SearchOrder:=xlByColumns, MatchCase:=True, LookAt:=xlPart
Worksheets("Intégration").Columns("C").Replace _
What:="11:**", Replacement:="11h - 12h", _
SearchOrder:=xlByColumns, MatchCase:=True, LookAt:=xlPart
Worksheets("Intégration").Columns("C").Replace _
What:="12:**", Replacement:="12h - 13h", _
SearchOrder:=xlByColumns, MatchCase:=True, LookAt:=xlWhole
Worksheets("Intégration").Columns("C").Replace _
What:="13:**", Replacement:="13h - 14h", _
SearchOrder:=xlByColumns, MatchCase:=True, LookAt:=xlWhole
Worksheets("Intégration").Columns("C").Replace _
What:="14:**", Replacement:="14h - 15h", _
SearchOrder:=xlByColumns, MatchCase:=True, LookAt:=xlWhole
Worksheets("Intégration").Columns("C").Replace _
What:="15:**", Replacement:="15h - 16h", _
SearchOrder:=xlByColumns, MatchCase:=True, LookAt:=xlWhole
Worksheets("Intégration").Columns("C").Replace _
What:="16:**", Replacement:="16h - 17h", _
SearchOrder:=xlByColumns, MatchCase:=True, LookAt:=xlWhole
Worksheets("Intégration").Columns("C").Replace _
What:="17:**", Replacement:="17h - 18h", _
SearchOrder:=xlByColumns, MatchCase:=True, LookAt:=xlWhole
Worksheets("Intégration").Columns("C").Replace _
What:="18:**", Replacement:="18h - 19h", _
SearchOrder:=xlByColumns, MatchCase:=True, LookAt:=xlWhole
Worksheets("Intégration").Columns("C").Replace _
What:="19:**", Replacement:="19h - 20h", _
SearchOrder:=xlByColumns, MatchCase:=True, LookAt:=xlWhole
Worksheets("Intégration").Columns("C").Replace _
What:="20:**", Replacement:="20h - 21h", _
SearchOrder:=xlByColumns, MatchCase:=True, LookAt:=xlWhole
Worksheets("Intégration").Columns("C").Replace _
What:="21:**", Replacement:="21h - 22h", _
SearchOrder:=xlByColumns, MatchCase:=True, LookAt:=xlWhole
Worksheets("Intégration").Columns("C").Replace _
What:="22:**", Replacement:="22h - 23h", _
SearchOrder:=xlByColumns, MatchCase:=True, LookAt:=xlWhole
Worksheets("Intégration").Columns("C").Replace _
What:="23:**", Replacement:="23h - 24h", _
SearchOrder:=xlByColumns, MatchCase:=True, LookAt:=xlWhole
Worksheets("Intégration").Columns("C").Replace _
What:="00:**", Replacement:="00h - 01h", _
SearchOrder:=xlByColumns, MatchCase:=True, LookAt:=xlWhole
Worksheets("Intégration").Columns("C").Replace _
What:="01:**", Replacement:="01h - 02h", _
SearchOrder:=xlByColumns, MatchCase:=True, LookAt:=xlWhole
Worksheets("Intégration").Columns("C").Replace _
What:="02:**", Replacement:="02h - 03h", _
SearchOrder:=xlByColumns, MatchCase:=True, LookAt:=xlWhole
Range("A1").Select
End Sub |
Partager