Got me on that one Yes, activeworkbook is the last workbook opened or created.