Glenn
Active Member
- Joined
- Sep 20, 2003
- Messages
- 325
Hi,
I'm using this macro to get the totals of some columns:
Is there a way to set the format of the totals to $#.## with the backround color of the cell and with a border around it?
Thanks, Glenn
I'm using this macro to get the totals of some columns:
Code:
Sub xxx()
Dim x As Range
Set x = Range("B65536").End(xlUp)
x.Offset(1, 6).FormulaR1C1 = "=SUM(R2C:R[-1]C)"
x.Offset(1, 7).FormulaR1C1 = "=SUM(R2C:R[-1]C)"
x.Offset(1, 8).FormulaR1C1 = "=SUM(R2C:R[-1]C)"
End Sub
Thanks, Glenn