in reply to Using RETURN in a sub

Your problem isn't with the sub its most likely with the code that is refering to it. Will you post that code so we might be able to help you.

All the best, Eoin...