I'm hoping that one day they would be away to convert a custom function and have all the code generated for me that the function does so I can tweak it. Thanks to ChatGPT was able to come up with a solution but I am not a programmer so it would be A huge convenience to have something that was menu driven be converted into code for you as either VB or C.