Once again one of our visitors has come up with a useful function
to make your life easier. He actually even wrote the code for us!
As usual, I've gone through and commented the heck out of it and
so you won't be bored I've also done my best to complicate it up
for you! ;)
But seriously, all I've really done is add some code to allow it
to take a wider variety of formats for input and added some
Err.raising so that if something goes wrong it raises a real error
so you can handle it via VBScript's built in error handling.
That's all I've really got to say about it so give it a look and
lets all give a big round of applause and heartfelt thanks to our
anonymous contributor!