# $txt->insert('end', "$worksheet->{Cells}[$row][$col]->{Val}"); my $string = $worksheet->{Cells}[$row][$col]->{Val}; $txt->insert('end', $string);