ISPrincess
Programmer
I know I must be doing (or not doing) something really stupid but my response.redirect is not working in asp page within vbscript.
I am purposefully creating an error and do not get redirected to errorpage. (bolded line)
I have code as follows:
<script language="VBScript">
dim excelapptmp
on error resume next
Set excelAppTmp = createobject("excel.Application"
if err.number then response.redirect ("ErrorDisplay.asp?ErrorString=ActiveX"
</script>
Please help!
I am purposefully creating an error and do not get redirected to errorpage. (bolded line)
I have code as follows:
<script language="VBScript">
dim excelapptmp
on error resume next
Set excelAppTmp = createobject("excel.Application"
if err.number then response.redirect ("ErrorDisplay.asp?ErrorString=ActiveX"
</script>
Please help!