I see, because when I searched for a good way to do this, I think I only found my current code as fulfilling my criteria. Will check your suggestion. Thanks!