Help for this page

Select Code to Download


  1. or download this
    use Win32::OLE qw(in with);
    my ($ex, $book, %WS);
    ...
    Win32::OLE->Uninitialize;
    undef $book;
    undef $ex;
    
  2. or download this
    use constant xlMinimized => -4140;
    $ex->{'WindowState'} = xlMinimized; # the window will be momentarily v
    +isible anyway