Bonjour à tous,
J’ai un code qui me permet de faire une moyenne :
Cependant, je n’arrive pas a trouver la syntaxe pour inclure le iferror.
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
9 For Col = 7 To 58 Cells(23, Col) = Application.Average(Sh20.Cells(26, Col - 1), Sh20.Cells(79, Col - 1), _ Sh21.Cells(26, Col - 1), Sh21.Cells(79, Col - 1), _ Sh27.Cells(26, Col - 1), Sh27.Cells(185, Col - 1), _ Sh33.Cells(26, Col - 1), Sh33.Cells(79, Col - 1), _ Sh34.Cells(26, Col - 1), Sh34.Cells(79, Col - 1), _ Sh40.Cells(26, Col - 1), Sh40.Cells(79, Col - 1)) Next Col
Merci pour votre aide.
Partager