I wish I could help you here, but user defined functions are often tricky for me and I seldom use them.

Your second post is a little unclear. Could you elaborate?

Usually when I want to pull...