Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Calculate Method
Collapse the table of content
Expand the table of content

Selection.Calculate Method (Word)

Calculates a mathematical expression within a selection. Returns the result as a Single.

expression .Calculate

expression Required. A variable that represents a Selection object.

This example calculates the selected mathematical expression and displays the result.

MsgBox "And the answer is... " & Selection.Calculate
Show:
© 2015 Microsoft