Hi Tina,
Am Fri, 12 Oct 2012 19:32:44 +0000 schrieb texas tina:
> I have attached a sample file
try it with a macro:
Sub myCopy()
Dim LRow As Long
Dim FERow As Long
Dim i As Long
Dim wsh As Worksheet
For Each wsh In Worksheets
If wsh.Name <> "Master" Then
Sheets("Master").Rows(1).Copy wsh.Range("A1")
End If
Next
With Sheets("Master")
LRow = .Cells(.Rows.Count, "Q").End(xlUp).Row
For i = 2 To LRow
Select Case .Cells(i, "Q")
Case "Won"
FERow = Sheets("Won").Cells(Rows.Count, 1).End(xlUp).Row + 1
.Range(.Cells(i, 1), .Cells(i, 19)).Copy _
Destination:=Sheets("Won").Cells(FERow, 1)
Case "Lost"
FERow = Sheets("Lost").Cells(Rows.Count, 1).End(xlUp).Row + 1
.Range(.Cells(i, 1), .Cells(i, 19)).Copy _
Destination:=Sheets("Lost").Cells(FERow, 1)
Case "No Bid"
FERow = Sheets("No Bid").Cells(Rows.Count, 1).End(xlUp).Row + 1
.Range(.Cells(i, 1), .Cells(i, 19)).Copy _
Destination:=Sheets("No Bid").Cells(FERow, 1)
End Select
Next
End With
For i = 2 To Sheets.Count
Sheets(i).Columns("A:S").AutoFit
Next
End Sub
Regards
Claus Busch
--
Win XP PRof SP2 / Vista Ultimate SP2
Office 2003 SP2 /2007 Ultimate SP2