Hi,
I am using a template a coworker created that has a macro to clear the sheet, which works fine, and a second macro to run which copies data to another tab, which is not working for me. The macro runs as intended on my coworkers computer, but does not on my computer. I am getting a "Run time error 91: Object variable or with block variable not set" error. I've gone down a google rabbit hole trying to figure this out with no success. We are both on a windows computer using office suite 2019. See screenshot of the debug below. How can I fix this?
I am using a template a coworker created that has a macro to clear the sheet, which works fine, and a second macro to run which copies data to another tab, which is not working for me. The macro runs as intended on my coworkers computer, but does not on my computer. I am getting a "Run time error 91: Object variable or with block variable not set" error. I've gone down a google rabbit hole trying to figure this out with no success. We are both on a windows computer using office suite 2019. See screenshot of the debug below. How can I fix this?