Skip to content
Home
Tutorials
Real-World Examples
Close an Excel workbook
Run Code
Parameters
Macro Title:
Workbook name and file type:
Comment:
'
Sub
Close_a_Specific_Workbook
()
'
close a workbook titled Examples.xlsx
Workbooks("
Examples.xlsx
").Close
End Sub