Thanks to both Jdelano and P45cal,

both of your codes and suggestions are great, keep up the good work.