Hi,
got a macro and it exits for no reason.
Why Does it exist on line 5 without an error?
Can anyone help me please?
got a macro and it exits for no reason.
Code:
Public Sub Extracter()
Selection.Copy
Application.Workbooks.Add.Activate
Worksheets("Sheet1").Paste 'IT JUST STOPS HERE!
Worksheets("Sheet1").Name = "Source"
Selection.Copy
Sheets("Sheet2").Activate
ActiveSheet.Paste
Exit Sub
Why Does it exist on line 5 without an error?
Can anyone help me please?