WorksheetFunction.Fact method (Excel)
Returns the factorial of a number. The factorial of a number is equal to 1*2*3*...* number.
expression.Fact (Arg1)
expression A variable that represents a WorksheetFunction object.
Name | Required/Optional | Data type | Description |
---|---|---|---|
Arg1 | Required | Double | Number - the nonnegative number that you want the factorial of. If number is not an integer, it is truncated. |
Double
Have questions or feedback about Office VBA or this documentation? Please see Office VBA support and feedback for guidance about the ways you can receive support and provide feedback.