I apologize in advance if this is a dumb question, or asked previously. I tried searching (and Googling) to no avail.

I was wondering how I can call a function (with 4 parameters, and returns a String) defined in the ThisWorkBook tab of my VBE, and call from a userform (specifically, when I click a button on the userform, I want it to use the public function to calculate something). I wanted to keep it separate because I will need to access the function from a 2nd userform later.

Thanks in advance!