Fonction Si en VBA
Résolu
kehd
-
Kehd -
Kehd -
A voir également:
- Fonction Si en VBA
- Fonction si et - Guide
- Fonction miroir - Guide
- Fonction moyenne excel - Guide
- Excel compter cellule couleur sans vba - Guide
- Excel remplir automatiquement une cellule en fonction d'une autre ✓ - Forum Excel
2 réponses
bonjour,
Michel
Option Explicit
Sub egal_si()
Dim lig As Byte
Application.ScreenUpdating = False
With Sheets("calculs")
For lig = 165 To 15 Step -1
If .Cells(lig, "S") > 0 Then
Sheets("accueil").Range("J39") = .Cells(lig, "S")
Exit Sub
End If
Next
Sheets("accueil").Range("J39") = .Range("S159")
End With
End Sub
Michel
Kehd
Merci à tous ça marche, le problème est resolu