다음을 통해 공유


Workbook.AfterSave Event (Excel)

Occurs after the workbook is saved.

Version Information

추가된 버전: Excel 2010

Syntax

.AfterSave(Success)

A variable that represents a Workbook object.

Parameters

Name

Required/Optional

Data Type

Description

Success

필수

Boolean

Returns True if the save operation was successful; otherwise False.

Return Value

Nothing

Example

The following code example displays a message box if the workbook was successfully saved.

Private Sub Workbook_AfterSave(ByVal Success As Boolean) 
If Success Then 
 MsgBox ("The workbook was successfully saved.") 
End If 
End Sub

참고 항목

개념

Workbook Object

Workbook Object Members