Marty , the error occures on the line where the call is made.
The code has been modified, but in the other reply you stated it could be called from a code module also.

It doesn't work for me and i think this can't be done that way.

Woka the class isn't an option. I only need to have functions in different modules to be called refering the item chosen in a combo.