# This was inside a wrapper hence the Excel object was stored as below my $book = $self->{Excel}->Workbooks->Add; # I also had previously stored all the tables in the object my $table = $self->{Tables}->[$i]; # Copy the table range $table->{Range}->Copy(); # Add a new worksheet my $sheet = $Book->Worksheets->Add; $sheet->Paste; $self->{Excel}->{DisplayAlerts} = False; $sheet->Delete(); # Close the excel book $book->Close( { SaveChanges => False } ); # Empty clip board Win32::Clipboard->Empty();