I want to strip what is in the first dimension of this array out as a variable and assign it the value that is in the second dimension so a forumula can run variables.
valueArray:
(x,2)
(y,3)
For varAssign = 1 To UBound(valueArray) + 1
valueArray(1, varAssign).Value = valueArray(2, varAssign)
Next
i want the loop above to do the equivalent of
x=2
y=3
so that the following can be run
eqn = x & "^2+" & y & "^2
valueArray:
(x,2)
(y,3)
For varAssign = 1 To UBound(valueArray) + 1
valueArray(1, varAssign).Value = valueArray(2, varAssign)
Next
i want the loop above to do the equivalent of
x=2
y=3
so that the following can be run
eqn = x & "^2+" & y & "^2