Please see Wiki - how to post code on this forum. You can fix your last post using the pencil icon below the post.