Hi Team,
getting below error, what is the correction to be done
rngcell = C
rowIdx = 0
pass in the Writecell by adding .tostring at end
or use as below
Excel.Sheet("Sheet1").Cell(rngcell.tostring+(rowIdx+2).ToString)
Hope it helps!!
1 Like
Try this:
Excel.Sheet("Sheet1").Cell(rngcell.ToString + (rowIdx+2).ToString)
You need to convert this double type(rowIdx+2) to string type for string concatination.
1 Like
This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.