<html>

<head>
<script type="text/vbscript">
sub mySub()
  msgbox("Example of sub procedure")
end sub
</script>
</head>

<body>
<script type="text/vbscript">
call mySub()
</script>

</body>
</html>
Published in: VBScript
Download

Related snippets