I have this formula that i need to interpret into a vba script using, the formula is in " ";
the formula works fine within excel, i just cant get my macro to input the same formula into my designated cell.
cheers for any help
the formula works fine within excel, i just cant get my macro to input the same formula into my designated cell.
Code:
ActiveCell.FormulaR1C1 = "=SUMIFS(H:H,D:D,">="&R[-2]C[0],D:D,"<="&R[-1]C[0])"
cheers for any help