Hi Rajeev. See if this is what you're looking for.
Sub Consolidate()
Dim mWS As Worksheet
Dim WS As Worksheet
Dim rInput As Range
Dim rOutput As Range
Dim iSNO As Integer
Dim rFound As Range
Dim vItem As Variant
Set mWS = Sheets("Summary")
For iSNO = 65 To 90
For Each WS In ThisWorkbook.Sheets
Set rFound = WS.Range("A:A").Find(Chr(iSNO), LookIn:=xlFormulas, lookat:=xlWhole)
If Not rFound Is Nothing Then
Set rInput = Range(rFound, rFound.Offset(0, 1).End(xlDown))
Set rInput = rInput.Resize(rInput.Rows.Count, 5)
Set rOutput = mWS.Cells(Rows.Count, 2).End(xlUp).Offset(2, -1)
rInput.Copy rOutput
End If
Next
Next
For Each vItem In Array(xlEdgeBottom, xlEdgeLeft, xlEdgeRight, xlEdgeTop, xlInsideHorizontal, xlInsideVertical)
mWS.Range(mWS.Cells(Rows.Count, 2).End(xlUp).Offset(0, 3), "A1").Borders(vItem).LineStyle = xlContinuous
Next
Set rFound = Nothing
Set rInput = Nothing
Set rOutput = Nothing
Set mWS = Nothing
End Sub
Bookmarks