Win32::OLE->Option( Warn => 3 ); # or 2 or 4 #### # load all excel constants (I may have the library name wrong) use Win32::OLE::Const 'Microsoft Excel'; #### # make it a little easier to iterate over collections use Win32::OLE qw/IN WITH/;