Isabelle,
Thanks for going through all that effort.
I finally opened your spreadsheet - just had a problem with AV.
Basically, you did what I was doing.
But then I realized that I needed to be able to take that formula
and fill it to the right and down several cells.
However, with what you and I came up with, the function parameters
are text and will not change when filling across or down.
For example, ...
=EvaluateString($B$1&"(B1:B2)")
when selected and filled to the right ...
will still be =EvaluateString($B$1&"(B1:B2)").
However, in order to make this type of function replacement usable,
filling the formula to the right would have to change to
=EvaluateString($B$1&"(C1:C2)"), etc.
At this point, I'm considering creating a macro that does the
following:
1) Select the first cell that contains the generic formula
2) Find and Replace the function in the first cell with a
different function selected in a ComboBox - like you did in your
spreadsheet.
3) Fill the first cell to the end of the first row
4) Fill the first row down to the last row
This appears to be faster than using a UDF to evaluate text to non-
text and a mass Search and Replace.
Of course, there might be a better way ...
- Ronald K.