MargAtCanon
New Member
- Joined
- Aug 11, 2009
- Messages
- 23
Hi,
I'm writing some vba code where I want a formula to be pasted into a range of cells. I'm OK with other formulas because I copy a coleagues stuff. However, I am having trouble with this SUM because I don't really understand the syntax.
Can someone please help me?
Thank you.
I'm writing some vba code where I want a formula to be pasted into a range of cells. I'm OK with other formulas because I copy a coleagues stuff. However, I am having trouble with this SUM because I don't really understand the syntax.
Can someone please help me?
Thank you.
Code:
ActiveCell.FormulaR1C1 = "=SUM(RC" & Area1SalesRepCol: OtherSalesRepCol ")"