I'm trying to put an "ActiveWorkbook.Close" function into a sub called "shutdown" in module1, but when I then run that macro, it doesnt close as expected. I suspect its because in the "This Workbook" section I have a "workbook_beforeclose" sub. How can I get around this???