petaaalouise
New Member
- Joined
- Apr 23, 2015
- Messages
- 23
Hey,
I've got a code written to transfer the exact data I want from each row. How do I apply this to multiple rows as there is about 300 rows I need to go threw.
Range ("B5").Select
Selection.Copy
Sheets ("TemplateTrans").Select
Range("B16").Select
ActiveSheet. Paste
Sheets ("Master").Select
Range("C5").Select
Application.CutCopyMode = False
Selection.Copy
Sheets ("TemplateTrans").Select
Range("C16").Select
ActiveSheet.Paste
Sheets ("Master").Select
Range ("D5").Select
Application.CutCopyMode = False
Selection.Copy
Sheets ("TemplateTrans").Select
Range ("A16").Select
ActiveSheet.Paste
Sheets ("Master").Select
ActiveSheet.Shapes.Range (Array (check Box 84")).Select
Application.CutCopyMode =False
Selection.OnAction = "Macro2"
I'm also using a check box for each row as some rows are not required in the new sheet. Is there a way I can go without writing 300 codes??
Please help
I've got a code written to transfer the exact data I want from each row. How do I apply this to multiple rows as there is about 300 rows I need to go threw.
Range ("B5").Select
Selection.Copy
Sheets ("TemplateTrans").Select
Range("B16").Select
ActiveSheet. Paste
Sheets ("Master").Select
Range("C5").Select
Application.CutCopyMode = False
Selection.Copy
Sheets ("TemplateTrans").Select
Range("C16").Select
ActiveSheet.Paste
Sheets ("Master").Select
Range ("D5").Select
Application.CutCopyMode = False
Selection.Copy
Sheets ("TemplateTrans").Select
Range ("A16").Select
ActiveSheet.Paste
Sheets ("Master").Select
ActiveSheet.Shapes.Range (Array (check Box 84")).Select
Application.CutCopyMode =False
Selection.OnAction = "Macro2"
I'm also using a check box for each row as some rows are not required in the new sheet. Is there a way I can go without writing 300 codes??
Please help
