Community Tip - Did you get an answer that solved your problem? Please mark it as an Accepted Solution so others with the same problem can find the answer easily. X
"Mark Carroll" wrote:
How do I modify the list box script to enable the user selected value to be saved when the worksheet is closed. The purpose is to have the selected value displayed the next time the worksheet is opened?
"Stuart Bruff" wrote:
This topic has been addressed on the Mathcad Collaboratory - http://collab.mathsoft.com/ - can't remember where though. However, you're likely to get an answer more rapidly there than you are on this forum. Stuart
"Robert Wheeler" wrote:
I have been fighting with the scripting for this myself. The short answer is that you need to set up worksheet metadata to retain the state of these controls.
"Robert Wheeler" wrote:
Richard, Other than first having to figure out (copy/paste) the metadata script, my real problem was trying to program two sequential list boxes. The first asked the user to pick a class of material, then the second listbox allowed selection of a specific material. The list in the second listbox was dependent on the choice in the first listbox. I hacked around with it for awhile but could never get it quite right - I couldn't get around the conflict between having the second listbox update based on the first listbox choice (i.e., be 'live'), and the need to retain the state of the box using the metadata.
"Robert Wheeler" wrote:
Richard, Other than first having to figure out (copy/paste) the metadata script, my real problem was trying to program two sequential list boxes. The first asked the user to pick a class of material, then the second listbox allowed selection of a specific material. The list in the second listbox was dependent on the choice in the first listbox. I hacked around with it for awhile but could never get it quite right - I couldn't get around the conflict between having the second listbox update based on the first listbox choice (i.e., be 'live'), and the need to retain the state of the box using the metadata.