Class OMathAutoCorrectEntry (Word VBA)
The class OMathAutoCorrectEntry represents an individual entry in the OMathAutoCorrectEntry collection. To use a OMathAutoCorrectEntry class variable it first needs to be instantiated, for example
Dim oma as OMathAutoCorrectEntry
Set oma = Application.OMathAutoCorrect.Entries(Index:=1)
For Each
Here is an example of processing the OMathAutoCorrectEntry items in a collection.
Dim omaEntry As OMathAutoCorrectEntry
For Each omaEntry In Application.OMathAutoCorrect.Entries
Next omaEntry
Delete
Deletes the specified equation auto correct entry.
Application.OMathAutoCorrect.Entries(1).Delete
Index
Returns a Long that represents the position of an item in a collection.
Dim lngIndex As Long
lngIndex = Application.OMathAutoCorrect.Entries(1).Index
Name
Returns or sets a String that represents the name of an equation auto correct entry.
Application.OMathAutoCorrect.Entries(1).Name =
Value
Returns or sets a String that represents the contents of an equation auto correct entry.
Application.OMathAutoCorrect.Entries(1).Value =