Hi All,
I am using below mentioned code for consolidating data.
can any one assist me to paste all the data as value while consolidating in "consolidate data" sheet.
I am using below mentioned code for consolidating data.
can any one assist me to paste all the data as value while consolidating in "consolidate data" sheet.
Code:
Sub CopyRange()
Dim bottomD As Integer
Application.ScreenUpdating = False
Dim WS As Worksheet
For Each WS In Sheets(Array("1", "2", "3", "4", "5", "6", "7", "8", "9", "10", "11", "12", "13", "17", "18", "19", "20", "21", "22", "23", "24", "25", "26", "27"))
WS.Activate
bottomD = Range("k" & Rows.Count).End(xlUp).Row
Range("A2:k" & bottomD).Copy Sheets("Consolidate Data").Cells(Rows.Count, "A").End(xlUp).Offset(1, 0)
Next WS
Application.ScreenUpdating = True
End Sub
[CODE]
Thanks in advance for your valuable suggestion.
Regards,
Rajender
Last edited: