maheshrk81
Board Regular
- Joined
- Jan 5, 2010
- Messages
- 153
Hi Team,
While running the below Macro, I am getting the below error. This was working fine and suddenly stopped. Can someone help please.
Sub CopyPaste()
Application.ScreenUpdating = False
Sheets("EDL Input").Select <--- Getting Error Here
Range("A2:D2").Select
Range(Selection, Selection.End(xlDown)).Select
Range(Selection, Selection.End(xlDown)).Select
Selection.ClearContents
Range("A2").Select
Sheets("Load Data").Select <--- Getting Error Here
Range("B2:E2").Select
Range(Selection, Selection.End(xlDown)).Select
Selection.Copy
Sheets("EDL Input").Select
Selection.PasteSpecial Paste:=xlPasteValues, Operation:=xlNone, SkipBlanks _
:=False, Transpose:=False
Range("F2").Select
ActiveWorkbook.Save
End Sub
Thanks,
M
While running the below Macro, I am getting the below error. This was working fine and suddenly stopped. Can someone help please.
Sub CopyPaste()
Application.ScreenUpdating = False
Sheets("EDL Input").Select <--- Getting Error Here
Range("A2:D2").Select
Range(Selection, Selection.End(xlDown)).Select
Range(Selection, Selection.End(xlDown)).Select
Selection.ClearContents
Range("A2").Select
Sheets("Load Data").Select <--- Getting Error Here
Range("B2:E2").Select
Range(Selection, Selection.End(xlDown)).Select
Selection.Copy
Sheets("EDL Input").Select
Selection.PasteSpecial Paste:=xlPasteValues, Operation:=xlNone, SkipBlanks _
:=False, Transpose:=False
Range("F2").Select
ActiveWorkbook.Save
End Sub
Thanks,
M