Thanks, jaytea. Your suggested changes made a *huge* performance improvement.

How should I go about moving this topic to the Scripts forum?