E.22. The SmartTag Object
All of Microsoft Office 2003 has the capability to use SmartTags. You can programmatically manipulate the SmartTag object by accessing its properties and methods.
E.22.1. Properties of the SmartTag Object
The properties of the SmartTag object are listed in the following table.
Property | Data Type | Description |
---|---|---|
Application | Application object | Represents the currently active Access application |
IsMissing | Boolean | Returns true if the SmartTag isn't installed or isn't correctly installed |
Name | String | Returns the name of the SmartTag |
Parent | Object | Refers to the parent object of the SmartTag |
Properties | SmartTagProperties collection | Returns the collection of all properties for a particular SmartTag |
SmartTagActions | SmartTagActions collection | Returns the collection of all actions available for a specific SmartTag |
XML | String | Represents the XML code for a SmartTag |
The SmartTag object has only one method, the Delete method.
The SmartTagActions collection and the SmartTagProperties collection have the standard properties associated with any collection (Application, Count, Item, and Parent). The individual SmartTagAction object has one method you can utilize within your code, the Execute method. This method performs the specified SmartTag action. The SmartTagProperty object only has one method, the Delete method.
Get Access 2003 VBA Programmer's Reference now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.