Okay Okay... I'll quit writing them. I'll leave it to those with more experience. [Wink]

In the one I worked on later, I did close that var. I did not want to DIM in the UDF as I don't know how to easily retrieve it back outside the UDF. I did originally also have them dimmed but as I said, I could not easily retrieve their values outside the UDF.

I've learned quite a bit in recent months, but I know I have a long way to go with writing "correct" tight code.