prabha_friend
Board Regular
- Joined
- Jun 28, 2011
- Messages
- 95
Code:
With .UsedRange
.Select
.Columns(.Columns.Count).Offset(0, 1).FormulaR1C1 = "=countA(RC[-" & .Columns.Count & "]:RC[-1])"
.Rows(.Rows.Count).Offset(1, 0).FormulaR1C1 = "=countA(R[-" & .Rows.Count & "]C:R[-1]C)"
The newly added row and column are not getting included in the Usedrange. How to refresh it?
One more question:
Why usedrange.offset not giving the expected result?
Thanks in advance.