9Smart Tags in Word and Excel

Every moment is a golden one for him who has the vision to recognize it as such.

—HENRY MILLER

Topics Covered in This Chapter

What Is a Smart Tag?

Creating Word and Excel Smart Tags with VSTO

Understanding Smart Tag Properties

Taking Action on a Smart Tag

Introduction to Regular Expressions

Overriding Smart Tag Recognizers

Summary

Review Questions

What Is a Smart Tag?

Smart tags are a Microsoft Office feature that can be programmed to recognize certain text and then present users with actions they can take related to the text. Smart tags implement two interfaces: ISmartTagRecognizer (the recognizer) and ISmartTagAction (the action).

Microsoft Word and Excel include a number of built-in smart tags. For example, if ...

Get VSTO for Mere Mortals™: A VBA Developer’s Guide to Microsoft Office Development Using Visual Studio 2005 Tools for Office now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.