FOR i = 1 TO o.Workbooks.count o.Workbooks.item(i).close(.f.) NEXT >Thanks! How could I iterate through all the workbooks to close them all without saving changes? > >>How about >><pre>o = CREATEOBJECT("excel.application") >>owb = o.Workbooks.Open("c:\book1.xls") >>owb.Close(.f.) && Do not save changes >>o.Quit>>