Hi Masters,
Need a small help in improving this below loop as this is taking the lot of time , i think i have not coded it in nice way and the performance can still be improved. Any Help on below.
Need a small help in improving this below loop as this is taking the lot of time , i think i have not coded it in nice way and the performance can still be improved. Any Help on below.
Code:
LoopI = 1
Rows_Data = Sheets("Data").Range("A" & Rows.Count).End(xlUp).Row
Sheet2_Array_I = 1
Do While LoopI <= 32
Sheets("Data").Range("A" & Rows_Data).Copy
Sheets("Sheet2_Array").Range("A" & Sheet2_Array_I).PasteSpecial Paste:=xlPasteValues
Sheets("Data").Range("B" & Rows_Data).Copy
Sheets("Sheet2_Array").Range("B" & Sheet2_Array_I).PasteSpecial Paste:=xlPasteValues
Sheets("Data").Range("C" & Rows_Data).Copy
Sheets("Sheet2_Array").Range("C" & Sheet2_Array_I).PasteSpecial Paste:=xlPasteValues
Sheets("Data").Range("D" & Rows_Data).Copy
Sheets("Sheet2_Array").Range("D" & Sheet2_Array_I).PasteSpecial Paste:=xlPasteValues
Sheets("Data").Range("E" & Rows_Data).Copy
Sheets("Sheet2_Array").Range("E" & Sheet2_Array_I).PasteSpecial Paste:=xlPasteValues
LoopI = LoopI + 1
Sheet2_Array_I = Sheet2_Array_I + 1
Loop