Help for this page

Select Code to Download


  1. or download this
    use Win32::OLE qw(in with);
    use Win32::OLE::Const 'Microsoft Excel';
    ...
    $Sheet->{Name} = "Sheet1";
    $Excel->WorkSheets("Sheet2")->Delete();
    
  2. or download this
    The selected Sheet(s) will be permanently deleted.
    
    . to delete the selected sheets, click ok
    . to cancel the deletion click, cancel