This code has been tested on Microsoft Word and Excel 2007. Some changes may be required for other versions of Word and Excel. The source code contained on this site is made available on an "AS IS" basis, without warranty of any kind, either expressed or implied. The code is used entirely at your own risk.