cj,
Congrats on the child process. About the code, you're right. I'm not claiming genius on my part... I ripped it from you. The @Ticks part wasn't in your's but all the code using it is.

Kinda lost sight of what I was doing. Started out as a KiX3 routine, but @Ticks needs KiX4, so Duh, might as well go the UDF route.

Jochen has a nice UDF "DeltaTime()" that does it with a lot less code than the ScriptLogic UDFs. Guess it depends on what other uses you may have for the UDFs.

So cj, I always wanted to know, when you pull the plug on the bathtub down under, does the water swirl clockwise or conterclockwise?

_________________________
Give a man a fish and he will be back for more. Slap him with a fish and he will go away forever.