Napomena
Pristup ovoj stranici zahtijeva autorizaciju. Možete pokušati prijaviti se ili promijeniti direktorije.
Pristup ovoj stranici zahtijeva autorizaciju. Možeš pokušati promijeniti direktorije.
Returns a random integer number between the numbers that you specify. A new random integer number is returned every time the worksheet is calculated.
Syntax
expression.RandBetween (Arg1, Arg2)
expression A variable that represents a WorksheetFunction object.
Parameters
| Name | Required/Optional | Data type | Description |
|---|---|---|---|
| Arg1 | Required | Variant | Bottom - the smallest integer RandBetween will return. |
| Arg2 | Required | Variant | Top - the largest integer RandBetween will return. |
Return value
Double
Support and feedback
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.