Can a property be referenced by a substituted variable?<br>
<br>
I want to be able to reference a property such as .width = 24 without including "width" but rather with a string or variant variable which I would assign "width" to.<br>
<br>
My actual situation is fields in a table which are like num1, num2, num3, etc. I have a case statement which works OK but if I can construct a variable like "num" & index where index is gathered from somewhere else I can reduce my code.
<br>
I want to be able to reference a property such as .width = 24 without including "width" but rather with a string or variant variable which I would assign "width" to.<br>
<br>
My actual situation is fields in a table which are like num1, num2, num3, etc. I have a case statement which works OK but if I can construct a variable like "num" & index where index is gathered from somewhere else I can reduce my code.