How to use a Spreadsheet database to fill in Google Forms?

Here is a macro which addresses a similar need. Perhaps it will get you started. Check it out, and let us know if you have more questions.

###MACRO: Use Excel to Fill Google (or Safari) Form Fields [Example]