WindowsForPens Property

Microsoft Excel Visual Basic

True if the computer is running under Microsoft Windows for Pen Computing. Read-only Boolean.

Example

This example shows how to limit handwriting recognition to numbers and punctuation only if Microsoft Windows for Pen Computing is running.

If Application.WindowsForPens Then
    Application.ConstrainNumeric = True
End If