<< Click to Display Table of Contents >> AutoCorrect (object) |
Access path: Application à AutoCorrect
1 Description
The AutoCorrect object allows accessing the defined SmartText entries.
2 Access to the object
There is exactly one instance of the AutoCorrect object during the whole runtime of PlanMaker. It is accessed through Application.AutoCorrect:
' Show the number of SmartText entries
Set pm = CreateObject("PlanMaker.Application")
MsgBox pm.Application.AutoCorrect.Entries.Count
3 Properties, objects, collections and methods
Objects:
▪Application → Application
▪Parent → Application
Collections:
▪Entries → AutoCorrectEntries
Application (pointer to object)
Data type: Object
Returns the Application object.
Parent (pointer to object)
Data type: Object
Returns the parent object, i.e. Application.
Entries (pointer to collection)
Data type: Object
Returns the AutoCorrectEntries collection which contains all of PlanMaker's SmartText entries.