Thanks snb. Can you post the code, so that users don't have to necessarily download the file.