I can’t seem to pass values to a subroutine without the value being changed in the original routine. What am I doing wrong?
Call WriteDouble(DoubleUps, Row, Col, Cons, Half)
Private Sub WriteDouble(ByVal DoubleUp As Integer, Row As Integer, Col As Integer, Cons As Integer, Half As Integer)
Dim i As Integer
Row = Row + 2
Col = Col + 2
For i = Cons To Half + 2 Step -2
Sheets(“Sewing”).Cells(Row, Col).Select
Selection.Value = DoubleUp
DoubleUp = DoubleUp – 1
Row = Row + 2
Next i
End Sub