Hi , I have to select the number of blocks(Column B) mentioned in column C for each District (column A) in this sheet, the first one would be the row number specified in column D, then for others the code should step every 5 row in same range (row 2:row17) in 1st case.
Any help ?
This is what I have
Sub Block_list()
Dim i As Long
For i = 14 To 17 Step 5
'First Block
Worksheets("Sheet2").Cells(i + 1, 4).Value = i
Next
End Sub
Any help ?
This is what I have
Sub Block_list()
Dim i As Long
For i = 14 To 17 Step 5
'First Block
Worksheets("Sheet2").Cells(i + 1, 4).Value = i
Next
End Sub