Oddly enough, I am surprised that I cannot find this information online! I am trying to use the following code:
If Cells(RowCount, 215).Value = "Edge Roughness" Then
sb.Append "ER"
End If
The cell needs to be an exact match to the text string. For example, some cells are just "Width" while some are "Width Roughness"
Can somebody explain why I cannot use the Cells(RowCount, 215) command? Key note: it has to be variable so that I can use the RowCount command.
Cells(1,215)is the 215th column on the first row ... what happens when you use it?RowCountwhen you get this error? How doesRowCountget it's value. Please supply the full code.