Good Morning,
I am attempting to update my excel code as originally split he code per quarter. I have fixed most issues to make the code generic, what I am having issues on is a formula to do a vlookup. any suggestions to complete the fix.
I am attempting to update my excel code as originally split he code per quarter. I have fixed most issues to make the code generic, what I am having issues on is a formula to do a vlookup. any suggestions to complete the fix.
Code:
ActiveCell.FormulaR1C1 = _
"=VLOOKUP(RC[-3],qtr3_gl_to_si_allocation_part_b!C[-3]:C,2,FALSE)"
Range("D1").Select
Selection.AutoFill Destination:=Range("D1:D" & LastRowT)
Range("D1:D" & LastRowT).Select
Range("E1").Select
ActiveCell.FormulaR1C1 = _
"=VLOOKUP(RC[-4],qtr3_gl_to_si_allocation_part_b!C[-4]:C[-1],4,FALSE)"
Last edited: