I have this line of code in a vba project:
I get the error: "Compile error: Expected Fuction or variable" and it highlights the Copyrowsandpaste portion.![]()
Application.Run Copyrowsandpaste(Worksheets("wobid"), Worksheets("res"), "S", "Completed")
Any ideas why? Copyrowsandpaste is a custom sub I made
Thanks
Bookmarks