Pages
About Me
All Categories
Excel 2007
Access 2007
VBA Excel
VBA Access
VBA SQL
SQL
JavaScript
VBScript
Wednesday, 4 July 2012
Ex30: Return a random number bw 0-99 in VBScript
<!DOCTYPE html>
<html>
<body>
<script type="text/vbscript">
Randomize()
randomNumber=Int(100 * Rnd())
document.write("A random number: <b>" & randomNumber & "</b>")
</script>
</body>
</html>
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment