G.16. The SmartTag Object
All of Microsoft Office 2007 has the capability to use SmartTags. You can programmatically manipulate the SmartTag object by accessing its properties and methods.
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: Delete.
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, Execute, which performs the specified SmartTag action. The SmartTagProperty object also has only one method: Delete.
Get Access™ 2007 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.