Hi gurus once again -
I am looping throgh a csv with a number of fields splitting on the comma -
I need to take one of the fields and make this a tab in a spreadheet (on each iteration)- then add the remaining fields from the csv to the worksheet
The problem I have is when I do the foreach to do the split ,on each loop the 'worksheet' variable is overwritten - resulting in just the last 'worksheet' being visible -
I need to get all the tab names like this
my $sheet1 = $workbook->addworksheet("$variable_from_csv");
but on the next iteration the sheet is replaced - but
I want it to be added ....
Hope this makes sense !
thanks in advance
Rab
I am looping throgh a csv with a number of fields splitting on the comma -
I need to take one of the fields and make this a tab in a spreadheet (on each iteration)- then add the remaining fields from the csv to the worksheet
The problem I have is when I do the foreach to do the split ,on each loop the 'worksheet' variable is overwritten - resulting in just the last 'worksheet' being visible -
I need to get all the tab names like this
my $sheet1 = $workbook->addworksheet("$variable_from_csv");
but on the next iteration the sheet is replaced - but
I want it to be added ....
Hope this makes sense !
thanks in advance
Rab