Mega Code Archive
Categories
/
VisualBasic Script
/
Excel
To close a single workbook, use the Close method of the Workbook object The Close method accepts three optional arguments (SaveChang
Sub save() Workbooks("MyWorkbook.xls").Close SaveChanges:=False End Sub