I am quite new to VBA, but I am learning. I have a worksheet "Model" which has 18 tables. I defined their ranges with 'start' and 'end'. So as you can see in the VBA below, the first table is in C3:E13 and the last table in C224:E234. I want to copy these and paste them one by one in Sheet1.
There they have to be pasted in cells B5, B21, B38, ..., B166. So the first table should be pasted in B5, the second one in B21, etc.
So my question is, how can I create this variable 'output' (which defines the output rownumber) in my for-loop?
Dim start As Long
Dim eind As Long
Dim output As Long
For start = 3 To 224 Step 13
end = start + 10
'output = --->>> this should be 5, 21, 38, ..., 166.
'So something like output = 5 To 166 Step 16
Sheets("Model").Select
Range("C" & start & ":E" & end).Select
Selection.Copy
Sheets("Sheet1").Select
Range("B" & output).Select
Selection.PasteSpecial Paste:=xlPasteValues, Operation:=xlNone, SkipBlanks _
:=False, Transpose:=False
Next start
Many thanks in advance!