PhilSalkie thanks for the advice. I installed the “Paul” code as you suggested and indeed it works very nicely.