Welcome to the forum - take a minute and look at the FAQs at the link in my signature

You'd be MUCH better off by starting your own thread instead of hijacking a 15 year old one that has already been marked [SOLVED]

You could just reference the old one in your post

Also, you can add CODE tags (replaced [vba] tags long time ago) by clicking the [#] icon and then pasting your macro between


Capture.JPG