Share via


Application.WindowsForPens Property (Excel)

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

Syntax

expression .WindowsForPens

expression A variable that represents an Application object.

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

See Also

Concepts

Application Object

Application Object Members