Hi,
I've got this section of code that runs perfectly well in another sub but when I move it to a new sub I get a runtime error 91. Any help would be really appreciated. From Selection.find to .Activate highlights yellow
Sheets("ADP_Times_All_Teams").Select
Selection.Find(What:="AguirreValinda", After:=ActiveCell, LookIn:= _
xlValues, LookAt:=xlPart, SearchOrder:=xlByColumns, SearchDirection:= _
xlNext, MatchCase:=False, SearchFormat:=False).Activate
ActiveCell.Offset(0, -4).Select
Selection.Copy
Sheets("Juliya Hours").Select
Range("C4").Select
ActiveSheet.Paste
Thanks
I've got this section of code that runs perfectly well in another sub but when I move it to a new sub I get a runtime error 91. Any help would be really appreciated. From Selection.find to .Activate highlights yellow
Sheets("ADP_Times_All_Teams").Select
Selection.Find(What:="AguirreValinda", After:=ActiveCell, LookIn:= _
xlValues, LookAt:=xlPart, SearchOrder:=xlByColumns, SearchDirection:= _
xlNext, MatchCase:=False, SearchFormat:=False).Activate
ActiveCell.Offset(0, -4).Select
Selection.Copy
Sheets("Juliya Hours").Select
Range("C4").Select
ActiveSheet.Paste
Thanks