I copy and pasted this code from another one of my DBs that was executing it just fine. Now I get run-time error 429. I do have MS Office 2010. However, I had Excel 2003 installed on my machine because some of our software is only compatible with 2003. Ever since then I've been getting this run-time error. I have all the libraries referenced. Does anyone have a solution for this?![]()