Well, DUH! After I posted the last item I found the problem. I had included the line
use Win32::OLE::Const 'Microsoft Excel';
but I had a typo in the line
use Win32::OLE::Const 'Microsoft Word';
However the error message "text mismatch" was certainly not obvious to me as an indicator of the problem. :-(
|