You are quite welcome. Since I have seen questions like yours in the past, I will probably see them in the future as well, so I decided to completely generalize my code... this makes some of the code lines longer (maybe I should have used shorter variable names), but I think the trade off is worth it. With this new code, you will be able to assign all parameters using variables at the beginning, that way you will not have to try and find all of the pieces to change should your needs change in the future.
Bookmarks