I have been trying to run a macro at work. I'm not particularly talented with writing code, but the error seems to happen when I use new computers. The place where the code fails is on this line:
Sheets("Capture").Select
As I understand it, all this is doing is selecting the sheet called Capture, which exists and is made visible through another line of code.
The problem may be caused by switching from excel 2010 to excel 2016, as I am running a similar macro with slightly different inputs on another computer right now using 2010, and it seems to be working. Once it is complete I will try and run it the excel 2010 computer.
There was another error related to the switch which I believe I have solved related to the references. I had a missing reference. Not sure if that is the root of the issue.
The error I am receiving is 1004 runtime. It's as if it thinks the sheet doesn't exist.
Bookmarks