I keep getting a runtime error 1004 when I try to run this code. I tried debugging by running to cursor and it seems like the error comes up when first line that offsets the