Pinaceous
Well-known Member
- Joined
- Jun 11, 2014
- Messages
- 1,110
- Office Version
- 365
- Platform
- Windows
Hi All,
I'm curious if I can apply
over a range of select cells?
For example, can I apply this formula to paste onto
as opposed to listing each cell individually, like
Please let me know, because I've been experimenting around with it and not sure.
Thank you!
pinaceous
I'm curious if I can apply
VBA Code:
ActiveCell.FormulaR1C1 = "=SUM(R[1]C:R[31]C)"
For example, can I apply this formula to paste onto
Code:
Range("B38:F38").Select
VBA Code:
Range("B38").Select
ActiveCell.FormulaR1C1 = "=SUM(R[1]C:R[31]C)"
Range("C38").Select
ActiveCell.FormulaR1C1 = "=SUM(R[1]C:R[31]C)"
Range("D38").Select
ActiveCell.FormulaR1C1 = "=SUM(R[1]C:R[31]C)"
Range("E38").Select
ActiveCell.FormulaR1C1 = "=SUM(R[1]C:R[31]C)"
Range("F38").Select
ActiveCell.FormulaR1C1 = "=SUM(R[1]C:R[31]C)"
Please let me know, because I've been experimenting around with it and not sure.
Thank you!
pinaceous