Akash, well done although your code copies the whole range over and over this way... not just the row of one cell, so if one cell = C3 then it will copy all the range. Try
Sub akash()
' Division 1
Dim myRange As Range
Dim myCell As Range
Set myRange = Worksheets("Actual vs Plan").Range(Sheets("BurnMacro").Range("B5").Value, Sheets("BurnMacro").Range("C5").Value)
For Each mycell In myRange
If myCell.Value = Sheets("BurnMacro").Range("C3").Value And myCell.EntireRow.Hidden = False Then
Sheets("Actual vs Plan").Range(Range(Sheets("BurnMacro").Range("B5").Value).Column, myCell.Row, Range(Sheets("BurnMacro").Range("C5").Value).Column, myCell.Row).Offset(0, 1).Copy Destination:=Sheets("BurnMacro").Range("B8")
End If
Next myCell
End Sub
Bookmarks