Range.ComputeStatistics Method

Returns a statistic based on the contents of the specified range.

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

Syntax

'Declaration
Function ComputeStatistics ( _
    Statistic As WdStatistic _
) As Integer
'Usage
Dim instance As Range
Dim Statistic As WdStatistic
Dim returnValue As Integer

returnValue = instance.ComputeStatistics(Statistic)
int ComputeStatistics(
    WdStatistic Statistic
)

Parameters

Return Value

Type: System.Int32

Remarks

Some of the WdStatistic constants may not be available to you, depending on the language support (U.S. English, for example) that you’ve selected or installed.

See Also

Reference

Range Interface

Range Members

Microsoft.Office.Interop.Word Namespace