hi
several ways
using select.....
using R1C1 reference....
ActiveCell.FormulaR1C1 = "=SUM(R[-4]C:R[-1]C)"
using nonR1C1 reference....
Actrivecell.Formula = "=SUM(A1:A4)"
NOT using select....
Range("A5").Formula = "=SUM(A1:A4)"
Cells(5, 1).Formula = "=SUM(A1:A4)"
the non select method can use the R1C1 reference style.
Want to reply to this thread or ask your own question?
You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.