Origin Ver. and Service Release (Select Help-->About Origin): 2018b
Operating System: Windows 10
Hello,
I have a set of workbooks I need to duplicate and rename. While win -d Duplicate;
achieves it instantaneously for the selected workbook, assigning the name to a string makes the process much, much slower. I'm talking about 2-3 minutes per workbook, if I'm really lucky. I'm using
string sname$ = page.name$;
string TernSName$ = Substitute(sname$,t3,t1,1)$;
window -d %(TernSName$);
Since I need this to be run on multiple workbooks, it is taking painfully long; I have about 15 workbooks, and it needs over 30 minutes.
Is there any reasoning behind this, or any other faster way I could do it?
Each workbook has multiple worksheets, in case it is of any relevance.
Thank you.