atticuslodius,
Here is how I would probably end up doing it. If 5 other folks were to look at it, you would probably get 5 different answers, but this is how I would do it.
In this section of code
I would create some kind of a loop since you are not just looking for a Document #, but you are also looking at Date Closed. In the loop I would code something like this
You will have to adapt this to your code, but you appear to have a good grasp on coding so I don't think that will pose a problem for you. I may not have the If statement set up the way you want so look at it carefully. Again, this is probably not the only way of addressing your problem and may not even be the most efficient method, but it is how I would do it based on what I know (I'm not an expert and I don't program for a living).
On a side note… Do you think this is a good setup? Do you think I did a decent job with the functionality of the Excel File?
I doubt that you will find two programers that set things up the same way. I have been programming in various languages since about 1988. I have been working with VBA for about 7 years. I program to my the processes within my office run more efficiently. I am constantly changing the way I code things, especially since I found this forum. Unless you have been programming forever and have ALL the rules perfected, your program can probably be improved upon. Does that mean it is bad code, certainly not! My old code works beautifully, but not necessarily efficiently. I am always seeking to improve it.
Now for my side note that is not related - where in this small world are you. Since this forum is global, I always find it interesting to see where you are on the globe.
I hope all of this helps or at least points you in the right direction.
Bookmarks