Hello drdavidge,

The UDT is non volatile. Once it is executed, the value will not change. If the function is made volatile, it will change each time the sheet is recalculated. I am not sure I follow what you want to accomplish.