Help for this page

Select Code to Download


  1. or download this
    # check if Excel exists
    my $x = Win32::OLE->GetActiveObject('Excel.Application');
    ...
    
    $x->{DisplayAlerts}=0;   # no messages from Excel
    
  2. or download this
    Win32::OLE(0.1502) error 0x80010105: "The server threw an exception"
    in PROPERTYPUT "DisplayAlerts" at /PerlApp/xls_subs.pl line 110
    
  3. or download this
        # and
        # sleep 1