다음을 통해 공유


Workbook.SendForReview Method (Excel)

Sends a workbook in an e-mail message for review to the specified recipients.

Syntax

.SendForReview(Recipients, Subject, ShowMessage, IncludeAttachment)

A variable that represents a Workbook object.

Parameters

Name

Required/Optional

Data Type

Description

Recipients

선택

Variant

A string that lists the people to whom to send the message. These can be unresolved names and aliases in an e-mail phone book or full e-mail addresses. Separate multiple recipients with a semicolon (;). If left blank and ShowMessage is False, you will receive an error message, and the message will not be sent.

Subject

선택

Variant

A string for the subject of the message. If left blank, the subject will be: Please review "filename".

ShowMessage

선택

Variant

A Boolean value that indicates whether the message should be displayed when the method is executed. The default value is True. If set to False, the message is automatically sent to the recipients without first showing the message to the sender.

IncludeAttachment

선택

Variant

A Boolean value that indicates whether the message should include an attachment or a link to a server location. The default value is True. If set to False, the document must be stored at a shared location.

Remarks

The SendForReview method starts a collaborative review cycle. Use the EndReview method to end a review cycle.

Example

This example automatically sends the active workbook as an attachment in an e-mail message to the specified recipients.

Sub WebReview() 
 
 ActiveWorkbook.SendForReview _ 
 Recipients:="someone@example.com; amy jones; lewjudy", _ 
 Subject:="Please review this document.", _ 
 ShowMessage:=False, _ 
 IncludeAttachment:=True 
 
End Sub

참고 항목

개념

Workbook Object

Workbook Object Members