Related:
- Copying text to different sheets based on criteria
- Google sheets download - Download - Spreadsheets
- Google sheets right to left - Guide
- Protect pdf from copying - Guide
- How to copy data from one excel sheet to another - Guide
- Sheets vba - Guide
1 response
Giedrius
Posts
1
Registration date
Thursday 2 July 2015
Status
Member
Last seen
2 July 2015
2 Jul 2015 à 09:49
2 Jul 2015 à 09:49
Hello try to make this simple macro:
Sub copyDone()
Set i = Sheets("Sheet1")
Set done = Sheets("done")
Dim d
Dim j
d = 1
j = 2
Do Until IsEmpty(i.Range("B" & j))
If i.Range("B" & j) = "Done" Then
d = d + 1
done.Rows(d).Value = i.Rows(j).Value
End If
j = j + 1
Loop
Sub copyDone()
Set i = Sheets("Sheet1")
Set done = Sheets("done")
Dim d
Dim j
d = 1
j = 2
Do Until IsEmpty(i.Range("B" & j))
If i.Range("B" & j) = "Done" Then
d = d + 1
done.Rows(d).Value = i.Rows(j).Value
End If
j = j + 1
Loop
2 Jul 2015 à 10:36
Any other ideas, although maybe I didn't run the macro properly - have never done that before.