Instructions for debugging VBScript in Internet Explorer

Step 1: Open Internet Explorer (IE). click the Tools menu and choose Internet Options
Step 2: Click the Advanced tab and click on the Display a notification about every script error checkbox to enable it
Step 3: When you run you program in IE and there is a script error, a dialog box identifying the error will appear (in this case it says an 'Unterminated string constant' was detected on 'Line 17' ... that is, it found an opening double-quote mark without a closing quote mark on or around line 17 of your program code.)
Step 4: To find and correct the error, click on the corresponding Notepad window that shows the code and go to line 17:

NOTE: If you don't see the status bar in Notepad, it is because you have Word wrap on (it must be off - Notepad's Format menu, turn Word wrap off) and/or you have Status bar off  (Notepad's View menu, turn Status bar on.)
Step 5: Make the correction in Notepad and save it. Click into the IE window to select it, and the click the Refresh button to reload the file
YOU MAY NEED TO CHANGE THE SECURITY TAB in Internet Explorer to allow your program to run. This may be the case if you get a 'Overflow' error meaning a division by zero even when the code looks correct. You can return the security level back to Medium-high after testing your program to keep your internet security strong.