if workbooks.count > 0 then exit sub
but then again, workbooks count is always >0 since personal.xls counts as one.