See if this link helps

Deleting All VBA Code In A Project

VBA Noob