in reply to split cells

Is there any way to split the data in the cells using perl?
Yes.

  1. Open the worksheet using your favourite Excel processing module
  2. Read the data from each cell
  3. split on whitespace
  4. Write the data back into the worksheet

Cheers,
Darren

Replies are listed 'Best First'.
Re^2: split cells
by bimleshsharma (Beadle) on Feb 20, 2012 at 11:35 UTC
    Yes, follow up below:
    * import module to parse xls. (This will help to modify your same cell of same file)
    * Read that cell text.
    * Split that cell text into newline. (@line=split '\n',cellvalue)
    * Split that line into tabspace (@innerline=split '\t',$line(index)
    * Now write each index position value of @innerline into different cells.
    Hope this will help.