Hi, I have been quite happily adding a series of UDFs to my collection in PERSONAL.XLS until today when for no apparent reason any new routine I add does not seem to get picked up by a call, either from within (PERSONAL.xls) or any other workbook, from a cell or from within a vba subroutine.
No error is given when called from a cell, the call is simply treated as a literal string in the cell used. For example calling my new UDF substr, instead of returning the desired result appears in the cell as =substr(A1, 1, 3). However when called from a subroutine I get "Sub or Function not defined"
All previously defined UDFs continue to work OK. If I copy an old working function and paste it into a new module, changing the function name (on all occurances) the new version gets the same problem. thus I think there must be some kind of registration failure?
I'm now folically challenged! Can anybody suggest what I'm missing here please?
No error is given when called from a cell, the call is simply treated as a literal string in the cell used. For example calling my new UDF substr, instead of returning the desired result appears in the cell as =substr(A1, 1, 3). However when called from a subroutine I get "Sub or Function not defined"
All previously defined UDFs continue to work OK. If I copy an old working function and paste it into a new module, changing the function name (on all occurances) the new version gets the same problem. thus I think there must be some kind of registration failure?
I'm now folically challenged! Can anybody suggest what I'm missing here please?
Comment