I was wondering if it was possible to execute a string variable's value. I have 16 text boxes on my form all named txtT* where * ranges from 1 to 16. I want to find the sum of the values within the textboxes using the simplest method possible and I thought I could create a string using a loop and then execute it to get it's value.
This is what I would like to do (if it is possible)...
dim strValue as string
dim x as single
do while x<17
strValue = "txtT" & x & ".value"
sum= sum + ***EXECUTE(strValue)***
x= x + 1