Glad to be of help and thanks for feed back. You should be aware of the limitations of this macro i.e. assuming your data goes from row 1 to row 25 but row 3 is empty then the command
will be 24 not 25 as row 3 is empty and therefore "not used".
As this seems to take care of your problem could you please sign your thread "Solved" and if you like to give a rating to my answer click on the small star in my post (bottom left).
Alf
To mark your thread solved do the following:
- Go to the first post
- Click edit
- Click Advance
- Just below the word "Title:" you will see a dropdown with the word No prefix.
- Change to Solve
- Click Save
Bookmarks