O
Old_skills_lost
I have created a macro in 2007 and it is having someproblems in 2003 and I
cannot find the problem in the macro. Can someone help me please. Thank you
ahead
Sub Activities()
Dim cell As Range
Count = 0
Do While Count < 296
Count = Count + 1
Sheets("First Quarter Activities").Activate
For Each cell In Range("g4:g300")
If cell.Text = "won" Then
cell.Select
Rows(cell.Row).Cut
Sheets("Won").Activate
Range("A4").Activate
Selection.Insert Shift:=xlDown
Application.CutCopyMode = False
Sheets("First Quarter Activities").Activate
Else
If cell.Text = "lost" Then
cell.Select
Rows(cell.Row).Cut
Sheets("Lost").Activate
Range("A4").Activate
Selection.Insert Shift:=xlDown
Application.CutCopyMode = False
Sheets("First Quarter Activities").Activate
End If
End If
Next cell
Loop
End Sub
cannot find the problem in the macro. Can someone help me please. Thank you
ahead
Sub Activities()
Dim cell As Range
Count = 0
Do While Count < 296
Count = Count + 1
Sheets("First Quarter Activities").Activate
For Each cell In Range("g4:g300")
If cell.Text = "won" Then
cell.Select
Rows(cell.Row).Cut
Sheets("Won").Activate
Range("A4").Activate
Selection.Insert Shift:=xlDown
Application.CutCopyMode = False
Sheets("First Quarter Activities").Activate
Else
If cell.Text = "lost" Then
cell.Select
Rows(cell.Row).Cut
Sheets("Lost").Activate
Range("A4").Activate
Selection.Insert Shift:=xlDown
Application.CutCopyMode = False
Sheets("First Quarter Activities").Activate
End If
End If
Next cell
Loop
End Sub