I have a large Select Case statement that assigns a value to a variable (strReplacment).
I have already calculated the variables before the Case statement, does anyone know how to indirectly set a variable?
What I am looking for is something like this
strReplacment = Me.Variable("strVariableName"
i.e. the same sort of syntax as Me.Controls("Name"
.
One further complication is that the code is in a module making reference to Me invalid.
I have already calculated the variables before the Case statement, does anyone know how to indirectly set a variable?
What I am looking for is something like this
strReplacment = Me.Variable("strVariableName"
One further complication is that the code is in a module making reference to Me invalid.