I would like to copy cells from one Sheet into another based on Values in one Column. The problem is I want to copy the values and not the formulas, but I can't get the Destination command to work with Pastespecial. So far I have:
Private Sub Worksheet_BeforeDoubleClick(ByVal Target As Range, _
Cancel As Boolean)
Dim i, LastRow
LastRow = Range("A" & Rows.Count).End(xlUp).Row
Sheets("Available").Cells.ClearContents
For Each c In Range("A1:A" & LastRow)
If UCase(c.Offset(0, 1).Value) = "Not Sold" Then
Range("A" & c.Row & ":" & "G" & c.Row).Copy _
Destination:=Sheets("Available").Range("A" & Rows.Count) _
.End(xlUp).Offset(1)
End If
Next c
Target.Offset(1).Select
End Sub
I also want to copy some cells above the cell with the value and add it to the right side of the row copied to the new sheet.
Any help would be really appreciated.