G
Guest
Trying to write a macro... want certain value to be assigned to cells on
different rows according to a counter, so would be useful to use the R[]C[]
notation to assign a value to a cell.
I can use for example
cell("D3").value = 5
But how would I write something like
cell(R[3]C[4]).value = 5
The compiler rejects the example above... what is the right way of using the
Row/Column notation in Visual Basic for Excel?
different rows according to a counter, so would be useful to use the R[]C[]
notation to assign a value to a cell.
I can use for example
cell("D3").value = 5
But how would I write something like
cell(R[3]C[4]).value = 5
The compiler rejects the example above... what is the right way of using the
Row/Column notation in Visual Basic for Excel?