H
htb
I have a need to tokenize a cell's contents. in the worksheet,
Cell.value is a string, but is actually an equation that's output from
various instrumentation.
The format of the cell is something like (the beginning text is
included):
"formulaic fit: RU = A + D [(1-G^2)/(Q/P)^n]"
The format of the equation does not change, although the variables may
be positive or negative, which further complicates the process since it
will change the equation's operators. What I'd like to do is populate
a range of cells with each of the six variable parameters (e.g. A, D,
G, Q, P, n) so I can do some further processing. I haven't found a
good way to do this in VBA-- any suggestions or examples of other
solutions for this problem?
TIA-
htb
Cell.value is a string, but is actually an equation that's output from
various instrumentation.
The format of the cell is something like (the beginning text is
included):
"formulaic fit: RU = A + D [(1-G^2)/(Q/P)^n]"
The format of the equation does not change, although the variables may
be positive or negative, which further complicates the process since it
will change the equation's operators. What I'd like to do is populate
a range of cells with each of the six variable parameters (e.g. A, D,
G, Q, P, n) so I can do some further processing. I haven't found a
good way to do this in VBA-- any suggestions or examples of other
solutions for this problem?
TIA-
htb