in reply to name of executing sub?
"...code I inherited"
Can't you show the code you inherited?
Karl
«The Crux of the Biscuit is the Apostrophe»