No this is just the first few lines of the script. The script itself is pretty long. I only put in the part where the error occurs. I am now wondering if it is the way i am launching Excel.