OLE exception from "Microsoft Office Excel":, referer: http://172.20.45.26/cgi-bin/APM_RESULTS_WINDOW.pl referer: http://172.20.45.26/cgi-bin/APM_RESULTS_WINDOW.pl Unable to get the Open property of the Workbooks class, referer: http://172.20.66.27/cgi-bin/APM_RESULTS_WINDOW.pl #### use strict; use warnings; use CGI qw(:standard); use Win32::OLE qw(in with); use Win32::OLE::Const 'Microsoft Excel'; $Win32::OLE::Warn = 3; # die on errors... my $Excel = Win32::OLE->GetActiveObject('Excel.Application')|| Win32::OLE->new('Excel.Application', 'Quit'); my $Book = $Excel->Workbooks->Open($_[2]); my $Sheet = $Book->Worksheets(1); <.....code....> $Book->ActiveWorkbook->Close(0); $Excel->Quit();