It could be because of the use of the "ActiveWorkbook" object instead of the Workbooks collection.