Hi,

your attached file works fine, but i like to do with macro.



Thanks,
smartgd