OMaths.Add Method
Word Developer Reference |
Creates an equation, from the text equation contained within the specified range, and returns a Range object that contains the new equation.
Syntax
expression.Add(Range)
expression An expression that returns an OMaths object.
Parameters
Name | Required/Optional | Data Type | Description |
---|---|---|---|
Range | Required | Range | Specifies a range that contains a text equation. |
Return Value
Range
Example
The following example inserts an equation into the document at the cursor or replacing the selected text.
Visual Basic for Applications |
---|
|
See Also