Bonjour
Pour traiter la colonne A, Code à copier dans le Module3 et associer à un bouton
Sub Modifie()
'Traitement colonne A
Dim Cel As Range
For Each Cel In Range("A2:A" & [A65000].End(xlUp).Row)
If Left(Cel, 3) = "APA" Then
Cel.Value = Replace(Cel.Value, "APA", "AIF")
End If
Next Cel
End Sub
Par contre, pour la colonne H, tu parles de valeurs supérieures à 23:59.
Peux-tu confirmer, car je ne trouve pas de valeurs correspondantes.
Tu peux utiliser ce Code pour modifier ta colonne H, les valeurs de textes seront changées en heure hh:mm
Sub Heure_Change()
'Traitement colonne H
Dim HTime As Date
HTime = TimeValue("23:59")
For Each Cel In Range("H2", [H2].End(xlDown))
If TimeValue(Cel) > HTime Then
Cel.Value = 0
Else: Cel.Value = Cel.Value
End If
Next Cel
End Sub
Cordialement