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...
Simple Renaming Script Help
Moderators: EViews Gareth, EViews Jason, EViews Moderator, EViews Matt
-
- Fe ddaethom, fe welon, fe amcangyfrifon
- Posts: 13319
- Joined: Tue Sep 16, 2008 5:38 pm
Re: Simple Renaming Script Help
Code: Select all
%newname = prefix1+prefix2+oldname
rename {oldname} {%newname}
Follow us on Twitter @IHSEViews
Re: Simple Renaming Script Help
Thank you Gareth!!!
Ali was not the greatest...Gareth is the GREATEST!!!
Float like a butterfly, sting like a bee!!!
You are the best. Happy Holidays!!!
Ali was not the greatest...Gareth is the GREATEST!!!
Float like a butterfly, sting like a bee!!!
You are the best. Happy Holidays!!!
Who is online
Users browsing this forum: No registered users and 31 guests