ConstrainNumeric Property Example
This example limits handwriting recognition to numbers and punctuation only if Microsoft Windows for Pen Computing is running.
If Application.WindowsForPens Then Application.ConstrainNumeric = True End If