Hi Troy, This works, but only if the module has not imported anything. If it does, then the imported classes are not filtered out. Thanks for your help though! ...Edmund.