SlideShare a Scribd company logo
1 of 1
Download to read offline
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-

More Related Content

What's hot

Use the following data definitions until notified otherwise Byte1 BYTE ...
Use the following data definitions until notified otherwise  Byte1    BYTE   ...Use the following data definitions until notified otherwise  Byte1    BYTE   ...
Use the following data definitions until notified otherwise Byte1 BYTE ...hwbloom138
 
Forms of Quadratics
Forms of QuadraticsForms of Quadratics
Forms of Quadraticsmrodolewicz
 
Tutorials--The FOIL Method
Tutorials--The FOIL MethodTutorials--The FOIL Method
Tutorials--The FOIL MethodMedia4math
 
DS - Application of List
DS - Application of ListDS - Application of List
DS - Application of ListMythiliMurugan3
 
Wasserstein GAN Tfug2017 07-12
Wasserstein GAN Tfug2017 07-12Wasserstein GAN Tfug2017 07-12
Wasserstein GAN Tfug2017 07-12Yuta Kashino
 
PG Day'14 Russia, GIN — Stronger than ever in 9.4 and further, Александр Коро...
PG Day'14 Russia, GIN — Stronger than ever in 9.4 and further, Александр Коро...PG Day'14 Russia, GIN — Stronger than ever in 9.4 and further, Александр Коро...
PG Day'14 Russia, GIN — Stronger than ever in 9.4 and further, Александр Коро...pgdayrussia
 
Chapter 3 Commands at MATLAB Command Window
Chapter 3 Commands at MATLAB Command WindowChapter 3 Commands at MATLAB Command Window
Chapter 3 Commands at MATLAB Command WindowPranoti Doke
 
La R Users Group Survey Of R Graphics
La R Users Group Survey Of R GraphicsLa R Users Group Survey Of R Graphics
La R Users Group Survey Of R Graphicsguest43ed8709
 
Weather of the Century: Visualization
Weather of the Century: VisualizationWeather of the Century: Visualization
Weather of the Century: VisualizationMongoDB
 
Linked list Output tracing
Linked list Output tracingLinked list Output tracing
Linked list Output tracingSamsil Arefin
 
確率的プログラミングライブラリEdward
確率的プログラミングライブラリEdward確率的プログラミングライブラリEdward
確率的プログラミングライブラリEdwardYuta Kashino
 
Coding convention
Coding conventionCoding convention
Coding conventionKhoa Nguyen
 
【NN輪読会】YouTube-8M: A Large-Scale Video Classification Benchmark
【NN輪読会】YouTube-8M: A Large-Scale Video Classification Benchmark【NN輪読会】YouTube-8M: A Large-Scale Video Classification Benchmark
【NN輪読会】YouTube-8M: A Large-Scale Video Classification BenchmarkTomomi Moriyama
 
R Data Visualization-Spatial data and Maps in R: Using R as a GIS
R Data Visualization-Spatial data and Maps in R: Using R as a GISR Data Visualization-Spatial data and Maps in R: Using R as a GIS
R Data Visualization-Spatial data and Maps in R: Using R as a GISDr. Volkan OBAN
 
【DL輪読会】NeRF-VAE: A Geometry Aware 3D Scene Generative Model
【DL輪読会】NeRF-VAE: A Geometry Aware 3D Scene Generative Model【DL輪読会】NeRF-VAE: A Geometry Aware 3D Scene Generative Model
【DL輪読会】NeRF-VAE: A Geometry Aware 3D Scene Generative ModelDeep Learning JP
 

What's hot (20)

Use the following data definitions until notified otherwise Byte1 BYTE ...
Use the following data definitions until notified otherwise  Byte1    BYTE   ...Use the following data definitions until notified otherwise  Byte1    BYTE   ...
Use the following data definitions until notified otherwise Byte1 BYTE ...
 
Sql can be cool again
Sql can be cool againSql can be cool again
Sql can be cool again
 
Forms of Quadratics
Forms of QuadraticsForms of Quadratics
Forms of Quadratics
 
Tutorials--The FOIL Method
Tutorials--The FOIL MethodTutorials--The FOIL Method
Tutorials--The FOIL Method
 
DS - Application of List
DS - Application of ListDS - Application of List
DS - Application of List
 
Questions
QuestionsQuestions
Questions
 
Pycon2017
Pycon2017Pycon2017
Pycon2017
 
Wasserstein GAN Tfug2017 07-12
Wasserstein GAN Tfug2017 07-12Wasserstein GAN Tfug2017 07-12
Wasserstein GAN Tfug2017 07-12
 
PG Day'14 Russia, GIN — Stronger than ever in 9.4 and further, Александр Коро...
PG Day'14 Russia, GIN — Stronger than ever in 9.4 and further, Александр Коро...PG Day'14 Russia, GIN — Stronger than ever in 9.4 and further, Александр Коро...
PG Day'14 Russia, GIN — Stronger than ever in 9.4 and further, Александр Коро...
 
Tutorial problems 11
Tutorial problems 11Tutorial problems 11
Tutorial problems 11
 
Chapter 3 Commands at MATLAB Command Window
Chapter 3 Commands at MATLAB Command WindowChapter 3 Commands at MATLAB Command Window
Chapter 3 Commands at MATLAB Command Window
 
La R Users Group Survey Of R Graphics
La R Users Group Survey Of R GraphicsLa R Users Group Survey Of R Graphics
La R Users Group Survey Of R Graphics
 
Weather of the Century: Visualization
Weather of the Century: VisualizationWeather of the Century: Visualization
Weather of the Century: Visualization
 
Linked list Output tracing
Linked list Output tracingLinked list Output tracing
Linked list Output tracing
 
Clojure Intro
Clojure IntroClojure Intro
Clojure Intro
 
確率的プログラミングライブラリEdward
確率的プログラミングライブラリEdward確率的プログラミングライブラリEdward
確率的プログラミングライブラリEdward
 
Coding convention
Coding conventionCoding convention
Coding convention
 
【NN輪読会】YouTube-8M: A Large-Scale Video Classification Benchmark
【NN輪読会】YouTube-8M: A Large-Scale Video Classification Benchmark【NN輪読会】YouTube-8M: A Large-Scale Video Classification Benchmark
【NN輪読会】YouTube-8M: A Large-Scale Video Classification Benchmark
 
R Data Visualization-Spatial data and Maps in R: Using R as a GIS
R Data Visualization-Spatial data and Maps in R: Using R as a GISR Data Visualization-Spatial data and Maps in R: Using R as a GIS
R Data Visualization-Spatial data and Maps in R: Using R as a GIS
 
【DL輪読会】NeRF-VAE: A Geometry Aware 3D Scene Generative Model
【DL輪読会】NeRF-VAE: A Geometry Aware 3D Scene Generative Model【DL輪読会】NeRF-VAE: A Geometry Aware 3D Scene Generative Model
【DL輪読会】NeRF-VAE: A Geometry Aware 3D Scene Generative Model
 

Similar to module1

Python 101++: Let's Get Down to Business!
Python 101++: Let's Get Down to Business!Python 101++: Let's Get Down to Business!
Python 101++: Let's Get Down to Business!Paige Bailey
 
Thinking Functionally In Ruby
Thinking Functionally In RubyThinking Functionally In Ruby
Thinking Functionally In RubyRoss Lawley
 
Datastructure tree
Datastructure treeDatastructure tree
Datastructure treerantd
 
Chapter 1 review topic in algebra 1
Chapter 1 review topic in algebra 1Chapter 1 review topic in algebra 1
Chapter 1 review topic in algebra 1jennytuazon01630
 
Arrays and structures
Arrays and structuresArrays and structures
Arrays and structuresMohd Arif
 
Fast Identification of Heavy Hitters by Cached and Packed Group Testing
Fast Identification of Heavy Hitters by Cached and Packed Group TestingFast Identification of Heavy Hitters by Cached and Packed Group Testing
Fast Identification of Heavy Hitters by Cached and Packed Group TestingRakuten Group, Inc.
 
Declare Your Language: Transformation by Strategic Term Rewriting
Declare Your Language: Transformation by Strategic Term RewritingDeclare Your Language: Transformation by Strategic Term Rewriting
Declare Your Language: Transformation by Strategic Term RewritingEelco Visser
 
The Ring programming language version 1.9 book - Part 30 of 210
The Ring programming language version 1.9 book - Part 30 of 210The Ring programming language version 1.9 book - Part 30 of 210
The Ring programming language version 1.9 book - Part 30 of 210Mahmoud Samir Fayed
 
A quick introduction to R
A quick introduction to RA quick introduction to R
A quick introduction to RAngshuman Saha
 
The Ring programming language version 1.8 book - Part 28 of 202
The Ring programming language version 1.8 book - Part 28 of 202The Ring programming language version 1.8 book - Part 28 of 202
The Ring programming language version 1.8 book - Part 28 of 202Mahmoud Samir Fayed
 
Microsoft Word Practice Exercise Set 2
Microsoft Word   Practice Exercise Set 2Microsoft Word   Practice Exercise Set 2
Microsoft Word Practice Exercise Set 2rampan
 
Python 培训讲义
Python 培训讲义Python 培训讲义
Python 培训讲义leejd
 
Idea for ineractive programming language
Idea for ineractive programming languageIdea for ineractive programming language
Idea for ineractive programming languageLincoln Hannah
 
Ee693 sept2014midsem
Ee693 sept2014midsemEe693 sept2014midsem
Ee693 sept2014midsemGopi Saiteja
 

Similar to module1 (20)

Python 101++: Let's Get Down to Business!
Python 101++: Let's Get Down to Business!Python 101++: Let's Get Down to Business!
Python 101++: Let's Get Down to Business!
 
Thinking Functionally In Ruby
Thinking Functionally In RubyThinking Functionally In Ruby
Thinking Functionally In Ruby
 
Datastructure tree
Datastructure treeDatastructure tree
Datastructure tree
 
Chapter 1 review topic in algebra 1
Chapter 1 review topic in algebra 1Chapter 1 review topic in algebra 1
Chapter 1 review topic in algebra 1
 
Arrays and structures
Arrays and structuresArrays and structures
Arrays and structures
 
Fast Identification of Heavy Hitters by Cached and Packed Group Testing
Fast Identification of Heavy Hitters by Cached and Packed Group TestingFast Identification of Heavy Hitters by Cached and Packed Group Testing
Fast Identification of Heavy Hitters by Cached and Packed Group Testing
 
Declare Your Language: Transformation by Strategic Term Rewriting
Declare Your Language: Transformation by Strategic Term RewritingDeclare Your Language: Transformation by Strategic Term Rewriting
Declare Your Language: Transformation by Strategic Term Rewriting
 
Annie
AnnieAnnie
Annie
 
The Ring programming language version 1.9 book - Part 30 of 210
The Ring programming language version 1.9 book - Part 30 of 210The Ring programming language version 1.9 book - Part 30 of 210
The Ring programming language version 1.9 book - Part 30 of 210
 
A quick introduction to R
A quick introduction to RA quick introduction to R
A quick introduction to R
 
R programming language
R programming languageR programming language
R programming language
 
The Ring programming language version 1.8 book - Part 28 of 202
The Ring programming language version 1.8 book - Part 28 of 202The Ring programming language version 1.8 book - Part 28 of 202
The Ring programming language version 1.8 book - Part 28 of 202
 
Microsoft Word Practice Exercise Set 2
Microsoft Word   Practice Exercise Set 2Microsoft Word   Practice Exercise Set 2
Microsoft Word Practice Exercise Set 2
 
Python 培训讲义
Python 培训讲义Python 培训讲义
Python 培训讲义
 
1.2 matlab numerical data
1.2  matlab numerical data1.2  matlab numerical data
1.2 matlab numerical data
 
Array
ArrayArray
Array
 
Math 116 pres. 1
Math 116 pres. 1Math 116 pres. 1
Math 116 pres. 1
 
Idea for ineractive programming language
Idea for ineractive programming languageIdea for ineractive programming language
Idea for ineractive programming language
 
Python Puzzlers
Python PuzzlersPython Puzzlers
Python Puzzlers
 
Ee693 sept2014midsem
Ee693 sept2014midsemEe693 sept2014midsem
Ee693 sept2014midsem
 

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-