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
- Statistic
Type: Microsoft.Office.Interop.Word.WdStatistic
Required WdStatistic.
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.