Thank you for your help with this. I'm new working with vb where would i place this in my code?