PS....
I wrote that because you asked for "a UDF ... to convert ... to text". I
wanted to show that no UDF is needed.
On the other hand, you also said that copy-and-paste-special-value achieves
what you want.
But PSV results in a numeric constant, not text per se. If that is what you
want, then:
1. A formula, like mine above or any other that might invoke a UDF, is not
what you want. And
2. No, you cannot do that with a UDF per se. A UDF cannot modify another
cell. You would need a macro.
But why use a macro when copy-and-paste-special-value would do the trick?
You mentioned that you want to avoid the manual step. So I wonder: are you
looking for an event macro, something that will effectively perform the PSV
whenever a cell is re-evaluated?
I suggest that you describe the original problem that you are trying to
solve by effectively doing PSV. The best solution for you might be a
completely different approach.
----- original message -----