0 penilaian0% menganggap dokumen ini bermanfaat (0 suara)
13 tayangan1 halaman
I = 0 To r = 300 Count = Sheets("Main").Cells(14, 6).Value For r = 0 To 300 Step 20 sheets("cell template").select worksheets('cell template').range("b19").offset(r, (2 i)) = "slot"
I = 0 To r = 300 Count = Sheets("Main").Cells(14, 6).Value For r = 0 To 300 Step 20 sheets("cell template").select worksheets('cell template').range("b19").offset(r, (2 i)) = "slot"
Hak Cipta:
Attribution Non-Commercial (BY-NC)
Format Tersedia
Unduh sebagai TXT, PDF, TXT atau baca online dari Scribd
I = 0 To r = 300 Count = Sheets("Main").Cells(14, 6).Value For r = 0 To 300 Step 20 sheets("cell template").select worksheets('cell template').range("b19").offset(r, (2 i)) = "slot"
Hak Cipta:
Attribution Non-Commercial (BY-NC)
Format Tersedia
Unduh sebagai TXT, PDF, TXT atau baca online dari Scribd
Sub Macro5() ' ' slot expansion ' ' Dim i As Integer Dim Count As Integer Dim r As Integer
r = 0 Count = Sheets("Main").Cells(14, 6).Value For r = 0 To 300 Step 20
Sheets("cell template").Select Worksheets("cell template").Range("B19").Select For i = 0 To Val(Count) Range("B19").offset(r, (2 * i)) = "slot" & i Next i Next r End Sub