Bonjour,
Voici mon problème, je cherche désespérément à utiliser les fonctions Loi.normale.inverse() de excel ainsi que alea().
J'ai cru comprendre qu'il fallait utiliser
Application.WorksheetFunction.NormInv()
pour la loi normale et la fonction rand() ou rnd() pour générer un nombre aléatoire. Hors aucune des deux solutions ne fonctionne :
1 2
| Cells(2, 6) = Application.WorksheetFunction.NormInv(rand(), Mean, Sigma)
Cells(2, 7) = Application.WorksheetFunction.Sqr(2 * OrderCost * Demand / HoldingCost) |
Merci de votre aide
Partager