excel macro: How to fill range with formula based on values of range on different sheet?
Sheet "Results" has (D12:L37) to be filled with a vlookup formula that references a corresponding cell on sheet "Calculations"
How do I write it in actual vb code, either as a loop, or simply as of lines of code. Here is what the meta-code might be:
'Results'!D12 = vlookup ('calculations'!B11,table,3)
'Results'!D13 = vlookup ('calculations'!B12,table,3
'Results'!D14 = vlookup ('calculations'!B13,table,3)
'Results'!D15 = vlookup ('calculations'!B14,table,3)
I might also want a macro for each cell, which would look like one line from above meta-code.
Would R1C1 method make it easier or harder?
thank you