noviceAG
XLDnaute Impliqué
Bonjour le Forum,
Ce code trouvé dans la page Wiki me parait bien trop long
Sub SupprimeLigneSi()
'(format des cellules hh:mm:ss)
Dim x As Integer
Dim Cible As Date
Application.ScreenUpdating = False
For x = Range("B10000").End(xlUp).Row To 1 Step -1
Cible = Cells(x, 2)
If Cible >= #8:20:00 AM# And Cible <= #5:00:00 PM# Then Rows(x).Delete
Next x
Application.ScreenUpdating = True
End Sub
Peut-on l'accélérer ?
En vous remerciant
Ce code trouvé dans la page Wiki me parait bien trop long
Sub SupprimeLigneSi()
'(format des cellules hh:mm:ss)
Dim x As Integer
Dim Cible As Date
Application.ScreenUpdating = False
For x = Range("B10000").End(xlUp).Row To 1 Step -1
Cible = Cells(x, 2)
If Cible >= #8:20:00 AM# And Cible <= #5:00:00 PM# Then Rows(x).Delete
Next x
Application.ScreenUpdating = True
End Sub
Peut-on l'accélérer ?
En vous remerciant