cool thanks for the code. I will keep it in my notebook with the rest of them for future reference