You can just delete the key without testing, unless you plan to do something else in that 'if' block.
In reply to Re: Testing if a HoH key exists by hbm in thread Testing if a HoH key exists by Jeri