Bas Vellekoop Posted July 6, 2016 Share Posted July 6, 2016 Pretty basic question, but couldn't find it on Google. Is it possible to change the name of a symbol in a worksheet? Quote Link to comment
DomC Posted July 11, 2016 Share Posted July 11, 2016 (edited) It is possible to do this with a script call in in the Workseet. =RUNSCRIPT('Script-1', A4, B4) The Script (Make a new Script in the Ressource Browser Named "Script-1" Switch to Python Script): sym_name_old=vs.WSScript_GetPrmStr(0) sym_name_new=vs.WSScript_GetPrmStr(1) sym=vs.GetObject(sym_name_old) vs.SetName(sym, sym_name_new) vs.WSScript_SetResStr(sym_name_new) If you want to do this in a Symbol-List Worksheet. You can't write lines to that list. So you have to make a Record Format. Which you can edit in the List. And The Script will rename the Symbol with that Record Entry Edited July 11, 2016 by DomC Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.