Sorry if this is in the wrong place

I deliver short courses to care staff and nurses and I'm trying to figure out how I'd get my class register to auto populate certificates at the end of the day.

The certificates and attendance form are both Word documents.
I was thinking of writing and XHTML document and using a form action to create, time stamp and save after each student types their name and hits submit.
Is there a way to cheat and and use the Dev panel on Word & Macro's or should I just re-write the attendance forms and certificates in XHTML?

I covered some programming & scripting in college but it was so long ago
I can almost see how to do what I want to do.

Any help would be greatly appreciated