Hi,
I'm using Excel 2013. I'm looking for a VB macro solution.
I want to loop through all used cells in column H and enter a formula in each cell. The formula basically divides the figure in cell G with the figure in cell F. I think the formula should be
How do I write this macro?
Thanks a lot.
I'm using Excel 2013. I'm looking for a VB macro solution.
I want to loop through all used cells in column H and enter a formula in each cell. The formula basically divides the figure in cell G with the figure in cell F. I think the formula should be
Code:
ActiveCell.FormulaR1C1 = "=RC[-1]/RC[-2]"
How do I write this macro?
Thanks a lot.