Well, in order to do this you'll need to have experience with Excel Automation, manipulating recordsets, and loops.
The basic idea is that you'll need to open up a recordset containing each master, or parent record. You'll need to loop through it, and for each parent record you'll need to open...