excel - Concatenate formula with rowcount -
i trying enter concatenate formula in cell vba. result writes keep returning false... need use rowcount, since table grows longer , need row. 
this latest code tried, again no avail:
.offset(rowcount, 0) = formula = "=concatenate(p" & rowcount & "j" & rowcount & "dg" & rowcount any suggestions appreciated.
you're not creating string , need change = formula = .formula =. also, i'm assuming rowcount defined somewhere?
change:
.offset(rowcount, 0) = formula = "=concatenate(p" & rowcount & "j" & rowcount & "dg" & rowcount to:
.offset(rowcount, 0).formula = "=concatenate(p" & rowcount & ",j" & rowcount & ",dg" & rowcount & ")" 
Comments
Post a Comment