Errors in compiled program

You are welcome. I'm glad it is working now.

Regards,
Per