Share via


ErrorCheckingOptions.NumberAsText Property

When set to True (default), Microsoft Excel identifies, with an AutoCorrect Options button, selected cells that contain numbers written as text. False disables error checking for numbers written as text.

Namespace:  Microsoft.Office.Interop.Excel
Assembly:  Microsoft.Office.Interop.Excel (in Microsoft.Office.Interop.Excel.dll)

Syntax

'Declaration
Property NumberAsText As Boolean
    Get
    Set
'Usage
Dim instance As ErrorCheckingOptions
Dim value As Boolean

value = instance.NumberAsText

instance.NumberAsText = value
bool NumberAsText { get; set; }

Property Value

Type: System.Boolean

See Also

Reference

ErrorCheckingOptions Interface

ErrorCheckingOptions Members

Microsoft.Office.Interop.Excel Namespace