None of the lines shows any indication there is an error, but I would imagine somewhere after the "copy range" line. The file opens automatically, but after it opens this message opens, "Run-time error 91: Object variable or with block variable not set"