December 8, 2017 at 2:50 pm
#4857
Moderator
You're gonna kick yourself 😉 you're using DateDiff as the sub routine name.
So its erroring out because you've created a recursive routine -but you're passing parameters to DateDiff when you try to call datediff 🙂
Change the sub routine name and you're good to go