Welcome to VBAX Erka. I've taken the liberty to add your code directly to the post.