http://access.fr.free.fr/
Description |
Cette fonction permet de connaître en millisecondes le temps d'exécution d'une fonction. | ||||
Syntaxe |
TimeOfFunction(strFunction[, lngX]) La syntaxe de la fonction TimeOfFunction comprend les éléments suivants :
| ||||||||||
Exemple |
Debug.Print "Test Fonction1", TimeOfFunction ("Fonction1('argument texte fonction1')",5) | ||||
Code de la fonction |
Public Function TimeOfFunction(strFunction As String, Optional lngX As Long = 1) As Long '** Fonction permettant de tester le temps
End Function |