Simple Renaming Script Help
Posted: Mon Dec 19, 2016 7:59 pm
Hello, Hoping someone can help me with a question.
I want to rename series in workfile pages with a script, as I have series with the same names in each page but I want to differentiate between them in a combined worksheet.
For example, I want to create the following strings- prefix1, prefix2, etc...
string prefix1="30_"
string prefix2="OTR"
then I want to run the sc
rename oldname "prefix1"+"prefix2"+oldname
so if the old name of the series was "Bond", it would create the series 30_OTR_Bond
Can someone tell me what I am doing incorrectly? I appreciate your help...
I want to rename series in workfile pages with a script, as I have series with the same names in each page but I want to differentiate between them in a combined worksheet.
For example, I want to create the following strings- prefix1, prefix2, etc...
string prefix1="30_"
string prefix2="OTR"
then I want to run the sc
rename oldname "prefix1"+"prefix2"+oldname
so if the old name of the series was "Bond", it would create the series 30_OTR_Bond
Can someone tell me what I am doing incorrectly? I appreciate your help...