- Регистрация
- 22.08.2018
- Сообщения
- 3
- Благодарностей
- 0
- Баллы
- 1
Hey Guys,
Just getting my head around ZP, really liking it so far, but I've run into a bit of a dead end with one of my projects.
Hopefully you guys can help, so here goes;
What I've got
6 sequential rows in an excel .csv file with data in various cells in each line from column A2 - DI2.
In some cells part of the data is in the form of a place holder.
So, for example, in cell A2 I might have [ %PLACEHOLDER% Some text ]
Then in cell I2 I might have [ %PLACEHOLDER% Some other text ]. And so on throughout the 6 Rows.
This is my template.
EXAMPLE
What I need to do
Take those 6 rows from the template in there entirety, replace all instances of %PLACEHOLDER% within every cell where it's present with the same single value from my list, then save the amended version to a separate CSV file, formatted exactly the same as the original template. The data to replace the placeholder with is in a separate list (.txt file).
Then I need to do it again, and again, each time replacing the %PLACEHOLDER% with another line from my list, and adding the 6 amended rows to the same .csv file as before.
Anyone got any ideas?
Thanks in advance.
Just getting my head around ZP, really liking it so far, but I've run into a bit of a dead end with one of my projects.
Hopefully you guys can help, so here goes;
What I've got
6 sequential rows in an excel .csv file with data in various cells in each line from column A2 - DI2.
In some cells part of the data is in the form of a place holder.
So, for example, in cell A2 I might have [ %PLACEHOLDER% Some text ]
Then in cell I2 I might have [ %PLACEHOLDER% Some other text ]. And so on throughout the 6 Rows.
This is my template.
EXAMPLE
What I need to do
Take those 6 rows from the template in there entirety, replace all instances of %PLACEHOLDER% within every cell where it's present with the same single value from my list, then save the amended version to a separate CSV file, formatted exactly the same as the original template. The data to replace the placeholder with is in a separate list (.txt file).
Then I need to do it again, and again, each time replacing the %PLACEHOLDER% with another line from my list, and adding the 6 amended rows to the same .csv file as before.
Anyone got any ideas?
Thanks in advance.