Subject 属性

       

返回或设置邮件或传送名单的主题。String 类型,可读写。

说明

RoutingSlip 对象的主题被用作传送工作簿时的邮件信息的主题。

示例

本示例设置打开的工作簿中传送名单的主题。本示例只能在已安装了 Microsoft Exchange 的情况下才能运行。

With ThisWorkbook
    .HasRoutingSlip = True
    With .RoutingSlip
        .Delivery = xlOneAfterAnother
        .Recipients = Array("Adam Bendel", _
            "Jean Selva", "Bernard Gabor")
        .Subject = "Here is the workbook"
        .Message = "Here is the workbook. What do you think?"
        .ReturnWhenDone = True
End With
    .Route
End With