Re
Avec cette ligne --> Activewindow.scrollRow = "ligne trouvée"
J'ai simplfié le code, faites quelques essais.
Attention que quelquefois les articles ne sont pas tous au même format. Cela pourrait influencer le résultat attendu
Private Sub CommandButton1_Click()
'Rechercher
Dim ligne As Integer
If TextBox1 = "" Then GoTo fin
Application.ScreenUpdating = False
If TextBox1 <> "" Then
With Sheets("Stock")
On Error Resume Next
ligne = .Range("A:B").Find(TextBox1.Value, LookIn:=xlValues, lookat:=xlWhole).Row
If Err = 0 Then
.Range(.Cells(ligne, 1), .Cells(ligne, 7)).Interior.ColorIndex = 43
Else: GoTo fin
End If
End With
End If
Sheets("Stock").Activate
ActiveWindow.ScrollRow = ligne
Exit Sub
fin:
MsgBox "Veuillez indiquer une référence correcte"
End Sub
Si ok, n'oubliez pas de cloturer le fil en cliquant sur le petit v
Cordialement