module1
- 1. C:UsersgeorgiosDesktopmodule1.bas 19 April 2016 23:52
Attribute VB_Name = "Module1"
Sub multiplier()
Dim txt1 As String
Dim txt2 As String
Dim txt3 As String
Dim txt4 As String
Dim txt5 As String
Dim txt6 As String
Dim txt7 As String
Dim txt8 As String
Dim txt9 As String
Dim txt10 As String
Dim I As Integer, J As Integer, count As Integer, refline As Integer
refline = 2
For I = 1 To 10000
txt1 = Cells(I + 1, 1)
txt2 = Cells(I + 1, 2)
txt3 = Cells(I + 1, 3)
txt4 = Cells(I + 1, 4)
txt5 = Cells(I + 1, 5)
txt6 = Cells(I + 1, 6)
txt7 = Cells(I + 1, 7)
txt8 = Cells(I + 1, 8)
txt9 = Cells(I + 1, 9)
txt10 = Cells(I + 1, 10)
count = Cells(I + 1, 11)
For J = 1 To count
Sheets("sheet2").Cells(refline, 1).Value = txt1
Sheets("sheet2").Cells(refline, 2).Value = txt2
Sheets("sheet2").Cells(refline, 3).Value = txt3
Sheets("sheet2").Cells(refline, 4).Value = txt4
Sheets("sheet2").Cells(refline, 5).Value = txt5
Sheets("Sheet2").Cells(refline, 6).Value = txt6
Sheets("Sheet2").Cells(refline, 7).Value = txt7
Sheets("Sheet2").Cells(refline, 8).Value = txt8
Sheets("Sheet2").Cells(refline, 9).Value = txt9
Sheets("Sheet2").Cells(refline, 10).Value = txt10
refline = refline + 1
Next J
Next I
End Sub
-1-