I know that Excel, and similar applications, can output spreadsheets in a tab delineated format where each record is followed by a newline character, and fields in individual records are separated by tabs. This format is commonly used for datafeeds. Once you have your file, you really don't need Perl for this. You can download a free trial version of WebMerge that will allow you to process 20 pages at a time. If you need more than 20 at a time, the registered version will cost you about 100 USD. Perl is really the king for sort of thing, but there is a learning curve, and there are various flavors of templating systems. The two most popular seem to be Mason and the Perl Template Toolkit.