First, I would like to say thank you for taking time on this. Very generous of you. :-)

Unfortunately, we have not been addressing the problem I am asking about.

In the example code you provided, there are NO REFERENCES to any functions within a .XLL file.

Please understand, I am NOT trying to control Excel from VB6. I do not want to write or read anything from an Excel Worksheet.

What I want to do is to use a .XLL file that contains FUNCTIONS normally used within Excel. I want to use them in VB6, just like if it were a .DLL file.

Stand-alone VB6 app using a function compiled in a XLL file.

I need to know if this is possible, and if so, how?

Again, your code only manipulates Excel worksheets to do this or that, but does NOT use any functions from a XLL file.

Thanks again.