Thank you for that.  That seems to have the right functionality.  I need to dig in to understand all the code but I think you have solved the problem.  Can I ask how you were able to discover the correct function to use?   Is there a big list somewhere?  Thanks again.