To close a single workbook, use the Close method of the Workbook object. The Close method accepts three optional arguments (SaveChanges, FileName, and RouteWorkbook). : Workbook « Excel « VBA / Excel / Access / Word
To close a single workbook, use the Close method of the Workbook object. The Close method accepts three optional arguments (SaveChanges, FileName, and RouteWorkbook).
Sub save()
Workbooks("MyWorkbook.xls").Close SaveChanges:=False End Sub