From: robin on
"monir" <monirg(a)mondenet.com> wrote in message news:166453c3-8c33-4507-8468-2dd31302a349(a)e7g2000vbp.googlegroups.com...

>1) Adding a dummy Print statement and removing the Pause statement
>didn't solve the problem.

Of course not!
You won't get anywhere with this until you show the declarations
for the code segment that you first posted.

What's more to the point, you need to show the ENTIRE subroutine.