Greetings,
I would like to paste an integer variable value into a cell on a worksheet. Here is a bit of the code I am working with.
C is the variable
The code below gives a compile error at "C.Copy"
I would like to copy the number of rows into a cell on a worksheet. Other methods?
I would like to paste an integer variable value into a cell on a worksheet. Here is a bit of the code I am working with.
C is the variable
Code:
C = PA.ws.Range(Cells(D, "A"), Cells(G, "A")).Rows.Count
The code below gives a compile error at "C.Copy"
Code:
C.Copy TA.ws.Range("A1").End(xlDown).Offset(0, 5).Select
Selection.Paste PasteSpecial:=xlValues
I would like to copy the number of rows into a cell on a worksheet. Other methods?