Class FirstLetterException (Word VBA)

The class FirstLetterException represents an abbreviation excluded from automatic correction. The FirstLetterExceptions object is a member of the FirstLetterExceptions collection. To use a FirstLetterException class variable it first needs to be instantiated, for example


Dim fle as FirstLetterException
Set fle = AutoCorrect.FirstLetterExceptions(Index:=1)

For Each

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


Dim fle As FirstLetterException
For Each fle In AutoCorrect.FirstLetterExceptions
	
Next fle

Delete

Deletes the FirstLetterException object.


AutoCorrect.FirstLetterExceptions(1).Delete

Index

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


Dim lngIndex As Long
lngIndex = AutoCorrect.FirstLetterExceptions(1).Index

Name

Returns name of the specified object.


Dim strName As String
strName = AutoCorrect.FirstLetterExceptions(1).Name