Join the Stack Overflow Community
Stack Overflow is a community of 6.6 million programmers, just like you, helping each other.
Join them; it only takes a minute:
Sign up

I don't have any experience with Visual Basic, just a bit of Java, but I think what I'm asking is pretty simple, so I hope somebody can lend a hand.

In terms of pseudocode,

For x=1:200

Set cell C2 in workbook "Output list" to x

Copy cells C3:C14

Paste values (just values, not the formulas) into cells (E+X)3:(E+X)14 (so, F3:F14 for x=1, G3:G14 for x=2, etc)

Is this as simple as I think it is?

share|improve this question
up vote 5 down vote accepted

Hopefully this gets you going in the right direction:

Sub tgr()

    Dim i As Long

    With Sheets("Output list")
        For i = 1 To 200
            .Range("C2").Value = i
            .Range("E3:E14").Offset(, i).Value = .Range("C3:C14").Value
        Next i
    End With

End Sub
share|improve this answer
    
That is precisely what I was looking for! Thanks so much. – user2709102 Aug 22 '13 at 23:01

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.