Hi Rod, You were right. The error was on the previous line. I will remember that. Thanks for your help! Sheldon