The command run by the Execute statement is $_ExRv = $_ID.Worksheets...
In effect, it's an un-dimmed variable used to catch the return code of the Execute statement. Dimming it in the function is unnecessary because it isn't used, and execute isn't subject to the Explicit declaration, but a var is required in the Execute to handle the result or it will pop out somewhere.

At least that's how I remember it from some 15 or so years ago when it was first written. ;\)

I don't recall ever using that function - I'll give it a try and see what I get.

Glenn
_________________________
Actually I am a Rocket Scientist! \:D