#@cell is a two-dimensional array [row][col] of Excel elements my @rowOneCells = $cell[0]; #get row one as new array my $rowOne = join (", ", @rowOneCells); #Show row one in Win32::GUI text box $TxtStatus->Append("Found header:\r\n$rowOne\r\n");