Aded extra endif and $objWorkbook.close(), but it still comes up with a box asking if I want to save the file. I am wanting it to run in the background with no user intervention if no "Setup" is needed. And since it still asks to save the file, it does not yet work correctly.

Jeff