Class EmailSignatureEntry (Word VBA)

The class EmailSignatureEntry represents a single email signature entry. The EmailSignatureEntry object is a member of the EmailSignatureEntries collection. The EmailSignatureEntries collection contains all the email signature entries available to Word. To use a EmailSignatureEntry class variable it first needs to be instantiated, for example


Dim ese as EmailSignatureEntry
Set ese = Application.EmailOptions.EmailSignature.EmailSignatureEntries(Index:=1)

For Each

Here is an example of processing the EmailSignatureEntry items in a collection.


Dim ese As EmailSignatureEntry
For Each ese In Application.EmailOptions.EmailSignature.EmailSignatureEntries
	
Next ese

Delete

Deletes the specified email signature.


Application.EmailOptions.EmailSignature.EmailSignatureEntries(1).Delete

Index

Returns a Long that represents the position of an item in a collection.


Dim lngIndex As Long
lngIndex = Application.EmailOptions.EmailSignature.EmailSignatureEntries(1).Index

Name

Returns or sets the name of the specified object.


Application.EmailOptions.EmailSignature.EmailSignatureEntries(1).Name =