Create a button that opens another web page using vbscript

This is an illustration of a "on click" event in ASP from a button.

<script language="vbscript">

Sub Button1_onclick

window.open("excel.asp")

End Sub

</script>

<INPUT id="Button1" type="button" value="Export to Excel" name="Button1">