共用方式為


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

請參閱

概念

Application Object

Application Object Members