Hello. I'm new to this forum, though I have used it on many occasions to solve some of my VBA troubles (as I'm a VBA novice and have tried to learn from those far more sophisticated than me). For the problem at hand, however, I haven't been able to piece together a solution after mining many message boards. I've seen many similar problems, but nothing yet that satisfied all of the conditions of my problem.
The problem: I'm trying to write a macro that will copy values from a named range that meet a condition where the range is in a column containing many rows on the "Export Draws" tab (copy range), and paste those values to a named range on another worksheet where the range is in a column containing the same number of rows on the "Projections" tab (paste range). I need to do this up to 39 times, although my ideal solution will copy all "copy ranges" to the corresponding "paste ranges".
Additionally, if the copy condition is not met (also each named range [a one-cell trigger] on the Export Draws tab). The condition is met if trigger is = 0 (or if = 1, then next).
I've attached a worksheet to (hopefully) illustrate better what I'm talking about.
Though I know I need to set variables, and run a loop I am completely stumped where to begin, so haven't even begun to write any code.
Any help you all can provide will be enormously helpful - Thank you in advance.
Attachment 155431
Bookmarks