While the illustrated function is certainly useful, the implementation is somewhat restrictive. The 'single' instance o "UniqueString" provides only one setting, while setting up a "PropertyBag" would permit a great deal of additional flexability. This ammounts to including a "PropName" as well as the value (with -of course- and assignment operator and a seperator) and parsing the Tag for the PropName when ever a specific item was to be used.
To "borrow" from TonyJollans's example, the Tag might be set up as:
CtrlVis = "visible", FontStyle = "vbItalic"
Then, the process of setting the value is to first parse the tag for the Token (PropName) of BkClr and assign the backcolor (not necessarily according to the literal value of the value)
MichaelRed
m.red@att.net
Searching for employment in all the wrong places