I am trying to copy information from one sheet into another sheet. To do so I wrote a code that goes down the column until it finds an empty cell and checks if the cell contains the word dail. Then it's supposed to copy the word daily and the words from it's surrounding cells into the new sheet created called task list. When I run the code it does add the new sheet but for some reason it does not copy the info into the new sheet.
Private Sub PopulateTaskList()
Dim exists As Boolean
Dim i As Integer
'Create new sheet named
For i = 1 To Worksheets.Count
If Worksheets(i).Name = "Task List" Then Exit Sub
Next
Sheets.Add(After:=Sheets(Sheets.Count)).Name = "Task List"
Worksheets("MSS").Activate
Range("C3").Select
Do Until ActiveCell.Value = ""
If ActiveCell.Value = "Daily" Then
ActiveCell.Copy
ActiveCell.FormulaR1C1 = "Daily"
Worksheets("Taks List").Rows("2:2").EntireRow.Insert
Worksheets("Task List").Range("B2").Paste
ActiveCell.Offset(0, 1).Select
Worksheets("Task List").Range("D2").Paste
ActiveCell.Offset(0, -2).Select
Worksheets("Task List").Range("C2").Paste
ActiveCell.Offset(0, -1).Select
Worksheets("Task List").Range("A2").Paste
End If
Loop
End Sub