Save Excel workbook without being prompted

How to save an Excel workbook without being prompted using VBA

METHOD 1. Save Excel workbook without being prompted using VBA

VBA

Sub Save_Workbook_with_no_prompt()
'disable the alerts being displayed
Application.DisplayAlerts = False
'save the workbook
ThisWorkbook.Save
'enable the alerts to be displayed again
Application.DisplayAlerts = True

End Sub

ADDITIONAL NOTES
Note 1: This code will save the workbook, without being prompted, in which the VBA code is written in.

Explanation about how to save a workbook without being prompted

EXPLANATION

EXPLANATION

This tutorial explains and provides step by step instructions on how to save an Excel workbook without being prompted using VBA.

The VBA code that is provided in this tutorial will save the workbook, without being prompted, in which the VBA code is written in.

RELATED TOPICS

Related Topic Description Related Topic and Description
How to open a single workbook using Excel, VBA and Shortcut methods
How to close a single workbook using Excel, VBA and Shortcut methods
How to save a workbook using Excel, VBA and Shortcut methods
How to open a single workbook as Read-Only using Excel and VBA methods
How to save and close a workbook using VBA