And it won't be too long before extracting data from Microsoft Office files will be made a whole lot easier. Their next version (Office 12) will save Word, Excel and Powerpoint files in XML format. More info. Perl is an adept language for extracting information from XML files (among many others).
_______ Code is untested unless explicitly stated mlh2003