J'ai changé de integer vers Long , mais j'ai eu un autre erreur dans une autre ligne a la fin ou j'utilise la fonction Occurence=(max, table) , erreur : incompatibilité erreur
Dim max As Integer
Dim occ As Integer
max = WorksheetFunction.max(table)
occ = occurance(max, table)