$worksheet1->write($row_num, $col_num, hex $hex_data, $right, $num_format);