EmailSignature Property

Microsoft Word Visual Basic

EmailSignature Property

       

Returns an EmailSignature object that represents the signatures Microsoft Word appends to outgoing e-mail messages. Read-only.

Example

This example displays the signature Word appends to new outgoing e-mail messages.

With Application.EmailOptions.EmailSignature
    If .NewMessageSignature = "" Then
        MsgBox "There is no signature for new " _
            & "e-mail messages!"
    Else
        MsgBox "The signature for new e-mail" _
            & "messages is: " & vbLf & vbLf _
            & .NewMessageSignature
    End If
End With