ddrueding
Fixture
Not being able to solve this problem should cause my geek card to be revoked, but I can't figure it out.
I have a spreadsheet ("names.xls") with a single column and a bunch of rows. Each cell contains text that includes spaces, numbers, commas, etc. What I need is to copy a file "sample.xls" into a folder indexed by the first letter of the cell and re-name the file the contents of the cell.
For example, if some "names.xls" rows said this:
Thomas, Michael David 1234345
Van Der Beek, Bob 13245987
Zoe, Cleo 1234876
Than I would need copies of the "sample.xls" file in folders "T", "V", and "Z" called "Thomas, Michael David 1234345.xls", "Van Der Beek, Bob 13245987.xls", and "Zoe, Cleo 1234876.xls" respectively.
I suspect that this will involve exporting the spreadsheet to a txt file and running a batch file against it, but what to use as a delimiter, and how to put it together eludes me.
Help please?
I have a spreadsheet ("names.xls") with a single column and a bunch of rows. Each cell contains text that includes spaces, numbers, commas, etc. What I need is to copy a file "sample.xls" into a folder indexed by the first letter of the cell and re-name the file the contents of the cell.
For example, if some "names.xls" rows said this:
Thomas, Michael David 1234345
Van Der Beek, Bob 13245987
Zoe, Cleo 1234876
Than I would need copies of the "sample.xls" file in folders "T", "V", and "Z" called "Thomas, Michael David 1234345.xls", "Van Der Beek, Bob 13245987.xls", and "Zoe, Cleo 1234876.xls" respectively.
I suspect that this will involve exporting the spreadsheet to a txt file and running a batch file against it, but what to use as a delimiter, and how to put it together eludes me.
Help please?