Answer Posted / cnu
Function Random(max,min)
Randomize
Random=Int((max-min+1)*Rnd+min)
End Function
Dim A
A = random(100,1)
msgbox ("The random numer is:" &A)
| Is This Answer Correct ? | 2 Yes | 0 No |
Post New Answer View All Answers
How to Convert Hex color code to color name in VB Script?
How will you convert a given number to long in vbscript?
When are redim statement and preserve keyword used in the vbscript language?
What is dictionary object in vbscript? Explain?
Mention how to access array data?
who will create the object?
How to replace junk code recorded by QTP with a mall function.
When to use function procedures and what are its characteristics?
How will you get a combined string from array of string in vbscript?
Explain the functionality of vbscript?
Explain How do you create a recordset object in vbscript?
what do you mean .ota mobile format
Can anyone send me a vb script function for verifying the functionality of active links on a web page
What is the purpose of the err object in the vbscript language?
What if you do not specify anything when you call a procedure?