Hi Ron,
'------------------
Hmmm,
Trying out Gary's S suggestion, which works, it seems what is happening is
that, for some reason, if I use rg.text within the UDF, it screws up the
dependency tree. Whereas if I use rg.value (or just rg) within the UDF, it
does not.
Strange.
'------------------
In Charles W's discussion of UDF's, did you see
his comments on the use of cell properties other than .
value or .formula?
See:
Referencing cell formatting properties
http://www.decisionmodels.com/calcsecretsj.htm
---
Regards,
Norman