Community Tip - You can Bookmark boards, posts or articles that you'd like to access again easily! X
Hi everybody
I usually use Combo boxes in mathcad 15, bu t the problem is that if you choose something in there even after you save your file , the combo box selection will back to the default when you open it again ( because of script behind it)
for example in below image what should I write in script to keep my choose before last save?
any help in this regards will be highly appreciated
Thanks
Hi
please, would you attach a small sample worksheet.
Greetings
There u go
but just make sure to choose "NO" in prompt when you open the file
if you choose "Yes" all scripts will be disabled
Thanks
Its nothing you just would write in the script to remember the state of a control as you first would have to save the state somewhere in the sheet.
Here you may find a solution to your problem -> Saving the state of controls.zip
Thanks Werner
It helped me a lot and really impressed me
here it is
I made it and you can use it also for yourself
i tried to make it simple so you do not see unnecessary sentences or inputs in script
Thanks @Richard Jackson & @Werner Exinger alot