Okay, here's the setup: I've got a range (in a single row) of non-sequential cells saved into a named range (let's call it MyRange.. original, ain't I?) Now, there's going to be a second range (in a single column) of non sequential cells that I'm going to get (let's call it Bob). What I want to do is once I have BOTH sets of ranges, use them as coordinates to select a third set of cells that I'll save into yet another range (let's call it AnotherRangeThatImPuttingStuffInto).
Here's a kind of graphical representation.
oct-99 nov-99 dec-99 jan-00 feb-00 mar-01
Set 1 81 87 92 95 75 84
Set 2 34 39 38 43 44 48
Set 3 20 24 27 31 33 39
Set 4 139 139 145 148 146 149
Set 5 76 79 62 60 57 53
The dates in bold are stored in MyRange, and the Sets in bold are stored in Bob. I was thinking of using the For Each loop to go through all the cells in MyRange and then just take their column values and hook them up with Bob's row values then set the cooresponding cells to AnotherRangeThatImPuttingStuffInto (using the Union method). Problem is, I don't know how to do that! This is the first time I've actually used For Each, and the examples I've seen on the web aren't all that insightful.
Help me out here, guys, please.
Here's a kind of graphical representation.
oct-99 nov-99 dec-99 jan-00 feb-00 mar-01
Set 1 81 87 92 95 75 84
Set 2 34 39 38 43 44 48
Set 3 20 24 27 31 33 39
Set 4 139 139 145 148 146 149
Set 5 76 79 62 60 57 53
The dates in bold are stored in MyRange, and the Sets in bold are stored in Bob. I was thinking of using the For Each loop to go through all the cells in MyRange and then just take their column values and hook them up with Bob's row values then set the cooresponding cells to AnotherRangeThatImPuttingStuffInto (using the Union method). Problem is, I don't know how to do that! This is the first time I've actually used For Each, and the examples I've seen on the web aren't all that insightful.
Help me out here, guys, please.