Re-posted the code today - replaced tabs with spaces (yecch!) and added a new function. It now displays properly.

New function is tsSetEventCredentials. This allows you to set the credentials on an existing task without loading and re-saving the event. We needed this to reset the account on our scheduled tasks this week - usually a nightmare.

Also corrected two minor bugs:
1. Commented out Return value
2. transposed value in SubStr was returning wrong character value.

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