What i need

I need to save login data in excel sheet while user click submit button in html.
Still what i done

using vb-script i have done this.
Errors

Sub Sample() undefined script errors.
data not saving
dialog box not responding
this is my excel sheet

Csharpcorner
Mountain View
First name:

Last name:

Address1:

Address2 :