Selection.Calculate Method

Calculates a mathematical expression within a selection.

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

Syntax

'Declaration
Function Calculate As Single
'Usage
Dim instance As Selection
Dim returnValue As Single

returnValue = instance.Calculate()
float Calculate()

Return Value

Type: System.Single

See Also

Reference

Selection Interface

Selection Members

Microsoft.Office.Interop.Word Namespace