BryanKaran
New Member
- Joined
- Mar 15, 2013
- Messages
- 2
i'm having trouble with this macro
This does the job, but copies the cells data in EDITED, I need to paste the values something like
what is the x to choose values.
Code:
Sub cond_copy() 'assuming the data is in sheet1
Sheets("EDITED").Select
RowCount = Cells(Cells.Rows.Count, "a").End(xlUp).Row
For i = 1 To RowCount
'assuming the true statment is in column a
Range("d" & i).Select
check_value = ActiveCell
If check_value = "•" Then
ActiveCell.EntireRow.Copy
'assuming the data is in sheet2
Sheets("FINAL").Select
RowCount = Cells(Cells.Rows.Count, "a").End(xlUp).Row
Range("a" & RowCount + 1).Select
ActiveSheet.Paste
Sheets("EDITED").Select
End If
Next
End Sub
This does the job, but copies the cells data in EDITED, I need to paste the values something like
Code:
ActiveSheet.[FONT=Droid Serif]PasteSpecial X[/FONT]